$ git clone -n https://gitee.com/src-opencloudos-rpms/libreoffice.git /var/lib/mock/dist-oc8-build-34443-10869/root/chroot_tmpdir/scmroot/libreoffice Cloning into '/var/lib/mock/dist-oc8-build-34443-10869/root/chroot_tmpdir/scmroot/libreoffice'... $ git reset --hard fe0b7cab82b16f329a8187c0a0da1649be9412b7 HEAD is now at fe0b7ca import libreoffice-6.4.7.2-12.oc8