$ git clone -n https://gitee.com/src-opencloudos-rpms/perl-Test-FailWarnings.git /var/lib/mock/dist-oc8-build-26109-7117/root/chroot_tmpdir/scmroot/perl-Test-FailWarnings Cloning into '/var/lib/mock/dist-oc8-build-26109-7117/root/chroot_tmpdir/scmroot/perl-Test-FailWarnings'... $ git reset --hard origin/oc8 HEAD is now at 8dcfc2b import perl-Test-FailWarnings-0.008-12.oc8