$ git clone -n https://gitee.com/src-opencloudos-rpms/compat-sap-cplusplus-10 /var/lib/mock/dist-oc8-build-33422-10176/root/chroot_tmpdir/scmroot/compat-sap-cplusplus-10 Cloning into '/var/lib/mock/dist-oc8-build-33422-10176/root/chroot_tmpdir/scmroot/compat-sap-cplusplus-10'... $ git reset --hard origin/oc8 HEAD is now at eb43897 import compat-sap-c++-10-10.2.1-1.1.oc8