$ git clone -n https://gitee.com/src-anolis-os/tesseract.git /var/lib/mock/dist-an23.3-build-426500-72993/root/chroot_tmpdir/scmroot/tesseract Cloning into '/var/lib/mock/dist-an23.3-build-426500-72993/root/chroot_tmpdir/scmroot/tesseract'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/tesseract * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9af6e2e Update to 5.3.4 from 5.3.2