$ git clone -n https://gitee.com/src-opencloudos-rpms/perl-Test-XML.git /var/lib/mock/dist-oc8-build-26094-7117/root/chroot_tmpdir/scmroot/perl-Test-XML Cloning into '/var/lib/mock/dist-oc8-build-26094-7117/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