$ git clone -n https://gitee.com/src-anolis-os/perl-Test-MinimumVersion.git /var/lib/mock/dist-an7-build-61634-34026/root/chroot_tmpdir/scmroot/perl-Test-MinimumVersion Cloning into '/var/lib/mock/dist-an7-build-61634-34026/root/chroot_tmpdir/scmroot/perl-Test-MinimumVersion'... $ git reset --hard origin/a7 HEAD is now at f8ec7d9 import perl-Test-MinimumVersion-0.101080-10.el7.src.rpm