$ git clone -n https://gitee.com/src-anolis-os/perl-Test-Exception.git /var/lib/mock/dist-an23-build-207805-61678/root/chroot_tmpdir/scmroot/perl-Test-Exception Cloning into '/var/lib/mock/dist-an23-build-207805-61678/root/chroot_tmpdir/scmroot/perl-Test-Exception'... $ git reset --hard 7df224d52dd446276fcf51e38b8c7412079db381 HEAD is now at 7df224d import perl-Test-Exception-0.43-7.el8.src.rpm