$ git clone -n https://gitee.com/src-opencloudos-rpms/perl-Test-TrailingSpace.git /var/lib/mock/dist-oc8-build-26261-7204/root/chroot_tmpdir/scmroot/perl-Test-TrailingSpace Cloning into '/var/lib/mock/dist-oc8-build-26261-7204/root/chroot_tmpdir/scmroot/perl-Test-TrailingSpace'... $ git reset --hard origin/oc8 HEAD is now at ef1a8b3 import perl-Test-TrailingSpace-0.0301-5.oc8