I wanted to reword a commit in git so I did a git rebase -i 00112233
or something similar and I get merge conflicts without making any changes to the commits that will be applied. I enter the merge command, the editor pops up, I accept what's there and there's a merge conflict.
My understanding of git rebase -i
is that HEAD
is set to 00112233
and then the commits after 00112233
(which are already consistent since they've been applied to get to the current state) are applied in the order specified in the editor (which I haven't changed in this case). I can't figure out how that process would lead to a merge conflict.
What are any ways such a situation can occur?