$ git clone -n https://gitee.com/sevever/grub2_an.git /var/lib/mock/dist-an23-build-python3.11-380353-71816/root/chroot_tmpdir/scmroot/grub2_an Cloning into '/var/lib/mock/dist-an23-build-python3.11-380353-71816/root/chroot_tmpdir/scmroot/grub2_an'... $ git fetch origin a40686130d1ba509c89dc19c0e5e1c8e517760a0:KOJI_FETCH_HEAD From https://gitee.com/sevever/grub2_an * [new ref] a40686130d1ba509c89dc19c0e5e1c8e517760a0 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a406861 Fix that patch ddd74b7a50 introduced old code