$ git clone -n https://gitee.com/src-opencloudos-rpms/rt-tests /var/lib/mock/dist-oc8-build-32545-9797/root/chroot_tmpdir/scmroot/rt-tests Cloning into '/var/lib/mock/dist-oc8-build-32545-9797/root/chroot_tmpdir/scmroot/rt-tests'... $ git reset --hard origin/oc8 HEAD is now at 46e0e30 import rt-tests-2.4-1.tl3