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