$ git clone -n https://gitee.com/src-anolis-os/perl-Switch.git /var/lib/mock/dist-an23-build-209771-61876/root/chroot_tmpdir/scmroot/perl-Switch Cloning into '/var/lib/mock/dist-an23-build-209771-61876/root/chroot_tmpdir/scmroot/perl-Switch'... $ git reset --hard 6d5df46570eb4f2f8285038e23dd85dadef7848c HEAD is now at 6d5df46 import perl-Switch-2.17-10.el8.src.rpm