$ git clone -n https://gitee.com/src-opencloudos-rpms/libtalloc /var/lib/mock/dist-oc8-build-57009-15199/root/chroot_tmpdir/scmroot/libtalloc Cloning into '/var/lib/mock/dist-oc8-build-57009-15199/root/chroot_tmpdir/scmroot/libtalloc'... $ git fetch origin oc8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/libtalloc * [new branch] oc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at db07b09 import libtalloc-2.3.4-1.tl3