$ git clone -n https://gitee.com/src-anolis-os/lujavrite.git /mnt/mock/kojid//dist-an23.3-riscv-build-437666-73130/root/chroot_tmpdir/scmroot/lujavrite Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-437666-73130/root/chroot_tmpdir/scmroot/lujavrite'... $ git fetch origin b44f3de0b2f291862e63d285985693fc1d0ae057:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/lujavrite * [new ref] b44f3de0b2f291862e63d285985693fc1d0ae057 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b44f3de fix build error for loongarch64