$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/perl-Newt.git /var/lib/mock/dist-an7-build-32685-16071/root/chroot_tmpdir/scmroot/perl-Newt Cloning into '/var/lib/mock/dist-an7-build-32685-16071/root/chroot_tmpdir/scmroot/perl-Newt'... $ git reset --hard origin/a7 HEAD is now at 301a810 import perl-Newt-1.08-36.el7.src.rpm