$ git clone -n https://gitee.com/gcdota930915/grub2.git /var/lib/mock/dist-an23-build-python3.11-380962-71820/root/chroot_tmpdir/scmroot/grub2 Cloning into '/var/lib/mock/dist-an23-build-python3.11-380962-71820/root/chroot_tmpdir/scmroot/grub2'... $ git fetch origin 3ae99513ed36146ed6864ce1339578e65dc6d847:KOJI_FETCH_HEAD From https://gitee.com/gcdota930915/grub2 * [new ref] 3ae99513ed36146ed6864ce1339578e65dc6d847 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3ae9951 Avoid patch loongarch-specified patches on other arches