$ git clone -n https://gitee.com/src-opencloudos-rpms/rhn-custom-info /var/lib/mock/module-rhn-tools-1.0-8050020220629042246-c7730916-build-12281-2259/root/chroot_tmpdir/scmroot/rhn-custom-info Cloning into '/var/lib/mock/module-rhn-tools-1.0-8050020220629042246-c7730916-build-12281-2259/root/chroot_tmpdir/scmroot/rhn-custom-info'... $ git reset --hard a5bd793ea17fb9ef8c370a2f264d63b6ff0091dc HEAD is now at a5bd793 import rhn-custom-info-5.4.42-4.module_oc8.1.0+210+a3d63f21