$ git clone -n https://gitee.com/happy_orange/grub2.git /var/lib/mock/dist-an23-build-279267-64516/root/chroot_tmpdir/scmroot/grub2 Cloning into '/var/lib/mock/dist-an23-build-279267-64516/root/chroot_tmpdir/scmroot/grub2'... $ git fetch origin 8a1629f07b9d9bf5778d179c626ffbab81f8067b:KOJI_FETCH_HEAD From https://gitee.com/happy_orange/grub2 * [new ref] 8a1629f07b9d9bf5778d179c626ffbab81f8067b -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8a1629f add crashkernel in grub install scripts