$ git clone -n https://gitee.com/src-opencloudos-rpms/rear /var/lib/mock/dist-oc8-build-27604-8510/root/chroot_tmpdir/scmroot/rear Cloning into '/var/lib/mock/dist-oc8-build-27604-8510/root/chroot_tmpdir/scmroot/rear'... $ git reset --hard origin/oc8 HEAD is now at 5cddd3f import rear-2.6-7.tl3