$ git clone -n https://gitee.com/src-opencloudos-rpms/perl-Test-Unit.git /var/lib/mock/dist-oc8-build-26097-7117/root/chroot_tmpdir/scmroot/perl-Test-Unit Cloning into '/var/lib/mock/dist-oc8-build-26097-7117/root/chroot_tmpdir/scmroot/perl-Test-Unit'... $ git reset --hard origin/oc8 HEAD is now at 0e93d62 import perl-Test-Unit-0.25-28.oc8