$ git clone -n https://gitee.com/src-opencloudos-rpms/fabtests.git /var/lib/mock/dist-oc8-build-38638-12591/root/chroot_tmpdir/scmroot/fabtests Cloning into '/var/lib/mock/dist-oc8-build-38638-12591/root/chroot_tmpdir/scmroot/fabtests'... $ git reset --hard origin/oc8 HEAD is now at da4f65f import fabtests-1.17.0-2.tl3