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