$ git clone -n https://gitee.com/src-anolis-os/oniguruma.git /mnt/mock/kojid//dist-an23.3-riscv-build-437967-73130/root/chroot_tmpdir/scmroot/oniguruma Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-437967-73130/root/chroot_tmpdir/scmroot/oniguruma'... $ git fetch origin 6d45c27319b89e256e558cf03fce226af3f1835c:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/oniguruma * [new ref] 6d45c27319b89e256e558cf03fce226af3f1835c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6d45c27 update to 6.9.9