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