$ git clone -n https://gitee.com/src-opencloudos-rpms/perl-Test-Inter.git /var/lib/mock/dist-oc8-build-26105-7117/root/chroot_tmpdir/scmroot/perl-Test-Inter Cloning into '/var/lib/mock/dist-oc8-build-26105-7117/root/chroot_tmpdir/scmroot/perl-Test-Inter'... $ git reset --hard origin/oc8 HEAD is now at 479556d import perl-Test-Inter-1.07-1.oc8