$ git clone -n https://gitee.com/src-opencloudos-rpms/perl-Module-Package.git /var/lib/mock/dist-oc8-build-26310-7305/root/chroot_tmpdir/scmroot/perl-Module-Package Cloning into '/var/lib/mock/dist-oc8-build-26310-7305/root/chroot_tmpdir/scmroot/perl-Module-Package'... $ git reset --hard origin/oc8 HEAD is now at c460477 import perl-Module-Package-0.30-16.oc8