$ git clone -n https://gitee.com/src-opencloudos-rpms/libtalloc /var/lib/mock/dist-oc8-build-32530-9797/root/chroot_tmpdir/scmroot/libtalloc Cloning into '/var/lib/mock/dist-oc8-build-32530-9797/root/chroot_tmpdir/scmroot/libtalloc'... $ git reset --hard origin/oc8 HEAD is now at 8d817d0 import libtalloc-2.3.3-2.tl3