$ git clone -n https://gitee.com/ali-inspur/tesseract.git /var/lib/mock/dist-an23-build-582818-96063/root/chroot_tmpdir/scmroot/tesseract Cloning into '/var/lib/mock/dist-an23-build-582818-96063/root/chroot_tmpdir/scmroot/tesseract'... $ git fetch origin fae46dca3581c99e306845e4e7c66bb4ff81a133:KOJI_FETCH_HEAD From https://gitee.com/ali-inspur/tesseract * [new ref] fae46dca3581c99e306845e4e7c66bb4ff81a133 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at fae46dc Update tesseract to 5.5.3 and adapt CVE patches