$ git clone -n https://gitee.com/src-anolis-os/cdrkit.git /mnt/mock/kojid//dist-an23.3-riscv-build-435931-73130/root/chroot_tmpdir/scmroot/cdrkit Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-435931-73130/root/chroot_tmpdir/scmroot/cdrkit'... $ git fetch origin e6d1cf058e52a7af2add02f270788269d59ff2f4:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/cdrkit * [new ref] e6d1cf058e52a7af2add02f270788269d59ff2f4 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e6d1cf0 fix the source error