$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/perl-XML-NamespaceSupport.git /var/lib/mock/dist-an7-build-32744-16089/root/chroot_tmpdir/scmroot/perl-XML-NamespaceSupport Cloning into '/var/lib/mock/dist-an7-build-32744-16089/root/chroot_tmpdir/scmroot/perl-XML-NamespaceSupport'... $ git reset --hard origin/a7 HEAD is now at 52022ca import perl-XML-NamespaceSupport-1.11-10.el7.src.rpm