A recorded `rerere` resolution is wrong and gets re-applied automatically on every rebase.
AdvancedTroubleshootingMerge and Rebase Problems
Answer
Likely causes → rerere stored an earlier, incorrect resolution for that conflict and replays it silently.
Diagnose →
git rerere status
git rerere diff
ls .git/rr-cache
Fix → Forget the bad resolution and redo the conflict: git rerere forget path/to/file, then git checkout --merge path/to/file to bring the markers back and resolve again. As a last resort, delete the specific folder under .git/rr-cache.
Prevent → Review the files rerere resolved (git diff) before staging them, and clear the cache after major refactors.
More on Merge and Rebase Problems
Production failed to start, and the file contains `<<<<<<< HEAD` lines that were committed.Beginner`error: you need to resolve your current index first`Beginner`fatal: You have not concluded your merge (MERGE_HEAD exists).`BeginnerRebase stops: `error: could not apply 1a2b3c4... Add retry` and later `No changes - did you forget to use 'git add'?`Intermediate`fatal: It seems that there is already a rebase-merge directory, and I wonder if you are in the middle of another rebase.`Intermediate`CONFLICT (modify/delete): config/old.yml deleted in HEAD and modified in feature.`Intermediate