$ git clone -n https://gitee.com/src-opencloudos-rpms/perl-Test2-Plugin-NoWarnings.git /var/lib/mock/dist-oc8-build-26110-7117/root/chroot_tmpdir/scmroot/perl-Test2-Plugin-NoWarnings Cloning into '/var/lib/mock/dist-oc8-build-26110-7117/root/chroot_tmpdir/scmroot/perl-Test2-Plugin-NoWarnings'... $ git reset --hard origin/oc8 HEAD is now at f9f818f import perl-Test2-Plugin-NoWarnings-0.06-3.oc8