$ git clone -n https://gitee.com/src-anolis-os/grub2.git /var/lib/mock/dist-an23.3-riscv-build-436354-73130/root/chroot_tmpdir/scmroot/grub2 Cloning into '/var/lib/mock/dist-an23.3-riscv-build-436354-73130/root/chroot_tmpdir/scmroot/grub2'... $ git fetch origin a296426d5897b669e312c97df34167550bb0f5e7:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/grub2 * [new ref] a296426d5897b669e312c97df34167550bb0f5e7 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a296426 loongarch: clear buffer for screen information and fix the introduced old code