$ git clone -n https://gitee.com/src-anolis-os/tesseract.git /mnt/mock/kojid//dist-an23.3-riscv-build-439515-73130/root/chroot_tmpdir/scmroot/tesseract Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-439515-73130/root/chroot_tmpdir/scmroot/tesseract'... $ git fetch origin 9af6e2e5a71f92df4180f4debaf8fad20eb1523f:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/tesseract * [new ref] 9af6e2e5a71f92df4180f4debaf8fad20eb1523f -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD Updating files: 42% (3/7) Updating files: 57% (4/7) Updating files: 71% (5/7) Updating files: 85% (6/7) Updating files: 100% (7/7) Updating files: 100% (7/7), done. HEAD is now at 9af6e2e Update to 5.3.4 from 5.3.2