$ git clone -n https://gitee.com/src-anolis-os/grub2.git /var/lib/mock/dist-an23.5-build-543281-86156/root/chroot_tmpdir/scmroot/grub2 Cloning into '/var/lib/mock/dist-an23.5-build-543281-86156/root/chroot_tmpdir/scmroot/grub2'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/grub2 * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at adc19d8 x86-efi: use EFI_LOADER_CODE for kernel memory allocation