$ git clone -n https://gitee.com/src-opencloudos-rpms/perl-XML-Spice.git /var/lib/mock/dist-oc8-build-26295-7279/root/chroot_tmpdir/scmroot/perl-XML-Spice Cloning into '/var/lib/mock/dist-oc8-build-26295-7279/root/chroot_tmpdir/scmroot/perl-XML-Spice'... $ git reset --hard origin/oc8 HEAD is now at 72e4b66 import perl-XML-Spice-0.05-5.oc8