$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/perl-PathTools.git /var/lib/mock/dist-an7-build-29723-15422/root/chroot_tmpdir/scmroot/perl-PathTools Cloning into '/var/lib/mock/dist-an7-build-29723-15422/root/chroot_tmpdir/scmroot/perl-PathTools'... $ git reset --hard origin/a7 HEAD is now at 01099a5 import perl-PathTools-3.40-5.el7.src.rpm