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