$ git clone -n https://gitee.com/src-opencloudos-rpms/rhel-system-roles-sap /var/lib/mock/dist-oc8-build-30862-9205/root/chroot_tmpdir/scmroot/rhel-system-roles-sap Cloning into '/var/lib/mock/dist-oc8-build-30862-9205/root/chroot_tmpdir/scmroot/rhel-system-roles-sap'... $ git reset --hard origin/oc8 HEAD is now at 502ab23 import rhel-system-roles-sap-3.3.0-3.oc8