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