$ git clone -n https://gitee.com/src-anolis-os/grub2.git /mnt/mock/kojid//dist-an23.5-AImanager-build-528320-76907/root/chroot_tmpdir/scmroot/grub2 Cloning into '/mnt/mock/kojid//dist-an23.5-AImanager-build-528320-76907/root/chroot_tmpdir/scmroot/grub2'... $ git fetch origin 3afab9b1afc89cd3a9222a21bf8e40fb8c289586:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/grub2 * [new ref] 3afab9b1afc89cd3a9222a21bf8e40fb8c289586 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3afab9b Modify the incorrect patch path