$ git clone -n https://gitee.com/src-opencloudos-rpms/rt-setup /var/lib/mock/dist-oc8-build-32625-9873/root/chroot_tmpdir/scmroot/rt-setup Cloning into '/var/lib/mock/dist-oc8-build-32625-9873/root/chroot_tmpdir/scmroot/rt-setup'... $ git reset --hard origin/oc8 HEAD is now at 1190d16 import rt-setup-2.1-4.oc8