$ git clone -n https://gitee.com/src-opencloudos-rpms/perl-XML-SAX-Writer.git /var/lib/mock/dist-oc8-build-26085-7117/root/chroot_tmpdir/scmroot/perl-XML-SAX-Writer Cloning into '/var/lib/mock/dist-oc8-build-26085-7117/root/chroot_tmpdir/scmroot/perl-XML-SAX-Writer'... $ git reset --hard origin/oc8 HEAD is now at 930d6d9 import perl-XML-SAX-Writer-0.57-2.oc8