$ git clone -n https://gitee.com/src-anolis-os/sendmail.git /var/lib/mock/dist-an7_9-updates-build-175639-52034/root/chroot_tmpdir/scmroot/sendmail Cloning into '/var/lib/mock/dist-an7_9-updates-build-175639-52034/root/chroot_tmpdir/scmroot/sendmail'... $ git reset --hard 5f657b8de4378a763a0c00ebaa0c812174a0a555 HEAD is now at 5f657b8 update to sendmail-8.14.7-6.el7.src.rpm