$ git clone -n https://gitee.com/src-anolis-os/perl-Test-DistManifest.git /var/lib/mock/dist-an7-build-60903-33772/root/chroot_tmpdir/scmroot/perl-Test-DistManifest Cloning into '/var/lib/mock/dist-an7-build-60903-33772/root/chroot_tmpdir/scmroot/perl-Test-DistManifest'... $ git reset --hard origin/a7 HEAD is now at 075c994 import perl-Test-DistManifest-1.012-6.el7.src.rpm