$ git clone -n https://gitee.com/gcdota930915/grub2.git /var/lib/mock/dist-an23-build-542691-85795/root/chroot_tmpdir/scmroot/grub2 Cloning into '/var/lib/mock/dist-an23-build-542691-85795/root/chroot_tmpdir/scmroot/grub2'... $ git fetch origin d4a1f8f0e7953f9242a91ca91be5b2a531f2e0d4:KOJI_FETCH_HEAD From https://gitee.com/gcdota930915/grub2 * [new ref] d4a1f8f0e7953f9242a91ca91be5b2a531f2e0d4 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d4a1f8f x86-efi: use EFI_LOADER_CODE for kernel memory allocation