$ git clone -n https://gitee.com/src-opencloudos-rpms/libqb.git /var/lib/mock/dist-oc8-build-38464-12472/root/chroot_tmpdir/scmroot/libqb Cloning into '/var/lib/mock/dist-oc8-build-38464-12472/root/chroot_tmpdir/scmroot/libqb'... $ git reset --hard origin/oc8 HEAD is now at 49feb88 import libqb-1.0.3-13.oc8