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