$ git clone -n https://gitee.com/src-opencloudos-rpms/openchange.git /var/lib/mock/dist-oc8-build-38400-12423/root/chroot_tmpdir/scmroot/openchange Cloning into '/var/lib/mock/dist-oc8-build-38400-12423/root/chroot_tmpdir/scmroot/openchange'... $ git reset --hard origin/oc8 HEAD is now at 7811106 import openchange-2.3-31.tl3