$ git clone -n https://gitee.com/src-opencloudos-rpms/resource-agents-sap.git /var/lib/mock/dist-oc8-build-38067-12270/root/chroot_tmpdir/scmroot/resource-agents-sap Cloning into '/var/lib/mock/dist-oc8-build-38067-12270/root/chroot_tmpdir/scmroot/resource-agents-sap'... $ git reset --hard origin/oc8 HEAD is now at 0c4373b import resource-agents-sap-4.1.1-34.tl3