$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/perl-File-Listing.git /var/lib/mock/dist-an7-build-32617-16053/root/chroot_tmpdir/scmroot/perl-File-Listing Cloning into '/var/lib/mock/dist-an7-build-32617-16053/root/chroot_tmpdir/scmroot/perl-File-Listing'... $ git reset --hard origin/a7 HEAD is now at af07796 import perl-File-Listing-6.04-7.el7.src.rpm