$ git clone -n https://gitee.com/ali-inspur/tesseract.git /var/lib/mock/dist-an23.5-build-582895-96062/root/chroot_tmpdir/scmroot/tesseract Cloning into '/var/lib/mock/dist-an23.5-build-582895-96062/root/chroot_tmpdir/scmroot/tesseract'... $ git fetch origin 898b10c297d3eba8f275ee4dfda92c3fa9a3967f:KOJI_FETCH_HEAD From https://gitee.com/ali-inspur/tesseract * [new ref] 898b10c297d3eba8f275ee4dfda92c3fa9a3967f -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 898b10c Build unicharset_training statically in cmake patch