$ git clone -n https://gitee.com/src-opencloudos-rpms/libtalloc.git /var/lib/mock/dist-oc8-build-74476-50541/root/chroot_tmpdir/scmroot/libtalloc Cloning into '/var/lib/mock/dist-oc8-build-74476-50541/root/chroot_tmpdir/scmroot/libtalloc'... $ git fetch origin 3787bf8613cd22ebbe3571983e02ea0b11b0c1d0:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/libtalloc * [new ref] 3787bf8613cd22ebbe3571983e02ea0b11b0c1d0 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3787bf8 import libtalloc-2.4.1-0.tl3