$ git clone -n https://gitee.com/src-opencloudos-rpms/perl-Test-XML.git /var/lib/mock/dist-oc8-build-26285-7251/root/chroot_tmpdir/scmroot/perl-Test-XML Cloning into '/var/lib/mock/dist-oc8-build-26285-7251/root/chroot_tmpdir/scmroot/perl-Test-XML'... $ git reset --hard origin/oc8 HEAD is now at 18a20cf import perl-Test-XML-0.08-10.oc8