$ git clone -n https://gitee.com/zubinshuo/perl-Error.git /var/lib/mock/dist-an8.6-build-94082-45467/root/chroot_tmpdir/scmroot/perl-Error Cloning into '/var/lib/mock/dist-an8.6-build-94082-45467/root/chroot_tmpdir/scmroot/perl-Error'... $ git reset --hard f515de05a1a3db508ecc5e44c78228c6947658e7 HEAD is now at f515de0 import perl-Error-0.17025-2.el8.src.rpm