$ git clone -n https://gitee.com/src-opencloudos-rpms/perl-File-LibMagic.git /var/lib/mock/dist-oc8-build-26186-7141/root/chroot_tmpdir/scmroot/perl-File-LibMagic Cloning into '/var/lib/mock/dist-oc8-build-26186-7141/root/chroot_tmpdir/scmroot/perl-File-LibMagic'... $ git reset --hard origin/oc8 HEAD is now at 5232170 import perl-File-LibMagic-1.16-2.oc8