$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/perl-XML-Simple.git /var/lib/mock/dist-an7-build-29815-15430/root/chroot_tmpdir/scmroot/perl-XML-Simple Cloning into '/var/lib/mock/dist-an7-build-29815-15430/root/chroot_tmpdir/scmroot/perl-XML-Simple'... $ git reset --hard origin/a7 HEAD is now at 2b6bd55 import perl-XML-Simple-2.20-5.el7.src.rpm