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