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