$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/perl-Sub-Install.git /var/lib/mock/dist-an7-build-32709-16075/root/chroot_tmpdir/scmroot/perl-Sub-Install Cloning into '/var/lib/mock/dist-an7-build-32709-16075/root/chroot_tmpdir/scmroot/perl-Sub-Install'... $ git reset --hard origin/a7 HEAD is now at 0882ae0 import perl-Sub-Install-0.926-6.el7.src.rpm