$ git clone -n https://gitee.com/mgb01105731/libtiff.git /var/lib/mock/dist-an23.3-build-415724-72844/root/chroot_tmpdir/scmroot/libtiff Cloning into '/var/lib/mock/dist-an23.3-build-415724-72844/root/chroot_tmpdir/scmroot/libtiff'... $ git fetch origin 35ecf77cc7203a94405a2f4201f16b0180c2e9fe:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/libtiff * [new ref] 35ecf77cc7203a94405a2f4201f16b0180c2e9fe -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 35ecf77 Refer to CentOS Stream libtiff-4.6.0-1(tdawson@redhat.com)