$ git clone -n https://gitee.com/ali-inspur/tesseract.git /var/lib/mock/dist-an23.5-build-582925-96090/root/chroot_tmpdir/scmroot/tesseract Cloning into '/var/lib/mock/dist-an23.5-build-582925-96090/root/chroot_tmpdir/scmroot/tesseract'... $ git fetch origin 5fc9e36f433bf788a6290da428041a97cdf16fb6:KOJI_FETCH_HEAD From https://gitee.com/ali-inspur/tesseract * [new ref] 5fc9e36f433bf788a6290da428041a97cdf16fb6 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5fc9e36 Fix %files to package the libtesseract SOVERSION symlink