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