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