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