$ git clone -n https://gitee.com/src-opencloudos-rpms/perl-File-MMagic.git /var/lib/mock/dist-oc8-build-26182-7135/root/chroot_tmpdir/scmroot/perl-File-MMagic Cloning into '/var/lib/mock/dist-oc8-build-26182-7135/root/chroot_tmpdir/scmroot/perl-File-MMagic'... $ git reset --hard origin/oc8 HEAD is now at e2fc7c9 import perl-File-MMagic-1.30-16.oc8