$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/perl-PAR-Dist.git /var/lib/mock/dist-an7-build-32694-16071/root/chroot_tmpdir/scmroot/perl-PAR-Dist Cloning into '/var/lib/mock/dist-an7-build-32694-16071/root/chroot_tmpdir/scmroot/perl-PAR-Dist'... $ git reset --hard origin/a7 HEAD is now at 24645a7 import perl-PAR-Dist-0.49-2.el7.src.rpm