$ git clone -n https://gitee.com/src-opencloudos-rpms/resource-agents-sap /var/lib/mock/dist-oc8-build-31691-9241/root/chroot_tmpdir/scmroot/resource-agents-sap Cloning into '/var/lib/mock/dist-oc8-build-31691-9241/root/chroot_tmpdir/scmroot/resource-agents-sap'... $ git reset --hard origin/oc8 HEAD is now at 14db59c import resource-agents-sap-4.1.1-32.oc8