$ git clone -n https://gitee.com/src-opencloudos-rpms/resource-agents.git /var/lib/mock/dist-oc8-build-34472-10869/root/chroot_tmpdir/scmroot/resource-agents Cloning into '/var/lib/mock/dist-oc8-build-34472-10869/root/chroot_tmpdir/scmroot/resource-agents'... $ git reset --hard c647cfdd1332db6bc8c08eff0c3561ff23779933 HEAD is now at c647cfd import resource-agents-4.9.0-29.oc8.3