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