$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/perl-IO-Compress.git /var/lib/mock/dist-an7-build-29641-15411/root/chroot_tmpdir/scmroot/perl-IO-Compress Cloning into '/var/lib/mock/dist-an7-build-29641-15411/root/chroot_tmpdir/scmroot/perl-IO-Compress'... $ git reset --hard origin/a7 HEAD is now at 78d7719 import perl-IO-Compress-2.061-2.el7.src.rpm