$ git clone -n https://gitee.com/src-opencloudos-rpms/fabtests /var/lib/mock/dist-oc8-build-32539-9797/root/chroot_tmpdir/scmroot/fabtests Cloning into '/var/lib/mock/dist-oc8-build-32539-9797/root/chroot_tmpdir/scmroot/fabtests'... $ git reset --hard origin/oc8 HEAD is now at 37b34d4 import fabtests-1.15.1-1.tl3