$ git clone -n https://gitee.com/src-opencloudos-rpms/perl-Sub-Quote.git /var/lib/mock/dist-oc8-build-26115-7123/root/chroot_tmpdir/scmroot/perl-Sub-Quote Cloning into '/var/lib/mock/dist-oc8-build-26115-7123/root/chroot_tmpdir/scmroot/perl-Sub-Quote'... $ git reset --hard origin/oc8 HEAD is now at 378527f import perl-Sub-Quote-2.005000-1.oc8