$ git clone -n https://gitee.com/src-opencloudos-rpms/qclib /var/lib/mock/dist-oc8-build-39269-13476/root/chroot_tmpdir/scmroot/qclib Cloning into '/var/lib/mock/dist-oc8-build-39269-13476/root/chroot_tmpdir/scmroot/qclib'... $ git reset --hard origin/oc8 HEAD is now at 2b4ca79 import qclib-2.3.1-1.oc8