$ git clone -n https://gitee.com/src-opencloudos-rpms/liblockfile /var/lib/mock/dist-oc8-build-32150-9675/root/chroot_tmpdir/scmroot/liblockfile Cloning into '/var/lib/mock/dist-oc8-build-32150-9675/root/chroot_tmpdir/scmroot/liblockfile'... $ git reset --hard origin/oc8 HEAD is now at 99fd0b0 import liblockfile-1.14-2.tl3