$ git clone -n https://gitee.com/src-anolis-os/openjpeg2.git /mnt/mock/kojid//dist-an23.3-riscv-build-441190-73168/root/chroot_tmpdir/scmroot/openjpeg2 Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-441190-73168/root/chroot_tmpdir/scmroot/openjpeg2'... $ git fetch origin c3833b2ea4a784f07f674fc5889bf0ca1b652917:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/openjpeg2 * [new ref] c3833b2ea4a784f07f674fc5889bf0ca1b652917 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c3833b2 Fix build failed