I heard people saying that they had to fix the exact same conflict multiple times during a rebase. That means, fix the conflict, run git rebase --continue
, get the same conflict again, fix it, run git rebase --continue
and so on and so on. I know that there is git rerere
that can record the conflict resolution.
My question is a bit unusual (I still pray for it not to get closed though!). I'm preparing a workshop on Git and I have trouble to come up with a scenario that causes the described behavior.
The git rerere
documentation lists a different use cases where you test a merge, then reset it but want to remember the conflict resolution for the real merge at a later time. That's not what I'm after.
I'm really trying to come up with the scenario described above. Is it a myth? I think I actually observed it myself long time ago but I'm not 100 % sure.
Does anyone know what would cause that behavior?