$ git clone -n https://gitee.com/src-opencloudos-rpms/opa-ff.git /var/lib/mock/dist-oc8-build-38590-12560/root/chroot_tmpdir/scmroot/opa-ff Cloning into '/var/lib/mock/dist-oc8-build-38590-12560/root/chroot_tmpdir/scmroot/opa-ff'... $ git reset --hard origin/oc8 HEAD is now at afe4be9 import opa-ff-10.11.1.3.1-1.tl3.1