$ git clone -n https://gitee.com/src-anolis-os/perl-Test-Warn.git /var/lib/mock/dist-an23-build-205425-61136/root/chroot_tmpdir/scmroot/perl-Test-Warn Cloning into '/var/lib/mock/dist-an23-build-205425-61136/root/chroot_tmpdir/scmroot/perl-Test-Warn'... $ git reset --hard e854077bab7b084f71a5b1a9ed86e0bdbaa4ebd7 HEAD is now at e854077 import perl-Test-Warn-0.32-5.el8.src.rpm