$ git clone -n https://gitee.com/src-opencloudos-rpms/libreoffice.git /var/lib/mock/dist-oc8-build-38291-12360/root/chroot_tmpdir/scmroot/libreoffice Cloning into '/var/lib/mock/dist-oc8-build-38291-12360/root/chroot_tmpdir/scmroot/libreoffice'... $ git reset --hard origin/oc8 HEAD is now at fde97a1 import libreoffice-6.4.7.2-13.tl3