$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/perl-File-Temp.git /var/lib/mock/dist-an7-build-29604-15406/root/chroot_tmpdir/scmroot/perl-File-Temp Cloning into '/var/lib/mock/dist-an7-build-29604-15406/root/chroot_tmpdir/scmroot/perl-File-Temp'... $ git reset --hard origin/a7 HEAD is now at 2e0589c import perl-File-Temp-0.23.01-3.el7.src.rpm