$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/perl-Module-Implementation.git /var/lib/mock/dist-an7-build-32675-16067/root/chroot_tmpdir/scmroot/perl-Module-Implementation Cloning into '/var/lib/mock/dist-an7-build-32675-16067/root/chroot_tmpdir/scmroot/perl-Module-Implementation'... $ git reset --hard origin/a7 HEAD is now at 986e1af import perl-Module-Implementation-0.06-6.el7.src.rpm