$ git clone -n https://gitee.com/src-anolis-os/perl-Test-Inter.git /var/lib/mock/dist-an8.6-build-136866-50482/root/chroot_tmpdir/scmroot/perl-Test-Inter Cloning into '/var/lib/mock/dist-an8.6-build-136866-50482/root/chroot_tmpdir/scmroot/perl-Test-Inter'... $ git reset --hard f0e78f0dd5c48dc0058b36a5ff1a2852474d4177 HEAD is now at f0e78f0 import perl-Test-Inter-1.05-2.el8.src.rpm