$ git clone -n https://gitee.com/src-anolis-os/replacer.git /var/lib/mock/dist-an8.6-build-136194-50301/root/chroot_tmpdir/scmroot/replacer Cloning into '/var/lib/mock/dist-an8.6-build-136194-50301/root/chroot_tmpdir/scmroot/replacer'... $ git reset --hard 1afa46bb882d5a1c2176ef078a1ba3f7f5ad45be HEAD is now at 1afa46b import replacer-1.6-6.el8