$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/perl-LWP-MediaTypes.git /var/lib/mock/dist-an7-build-32662-16063/root/chroot_tmpdir/scmroot/perl-LWP-MediaTypes Cloning into '/var/lib/mock/dist-an7-build-32662-16063/root/chroot_tmpdir/scmroot/perl-LWP-MediaTypes'... $ git reset --hard origin/a7 HEAD is now at f840607 import perl-LWP-MediaTypes-6.02-2.el7.src.rpm