$ git clone -n https://gitee.com/src-opencloudos-rpms/perl-Test-InDistDir.git /var/lib/mock/dist-oc8-build-26106-7117/root/chroot_tmpdir/scmroot/perl-Test-InDistDir Cloning into '/var/lib/mock/dist-oc8-build-26106-7117/root/chroot_tmpdir/scmroot/perl-Test-InDistDir'... $ git reset --hard origin/oc8 HEAD is now at 10fd663 import perl-Test-InDistDir-1.112071-6.oc8