Often Git solves conflicts based on previous resolutions.
Example:
Auto-merging <file>
CONFLICT (content): Merge conflict in <file>
Resolved '<file>' using previous resolution.
Exit 1
When will Git decide to solve a conflict based on previous resolutions?
How can I disable the automatic solving based on previous resolutions?
This is a message from “git rerere”. It is invoked manually unless it is enabled (using Git config
rerere.enabledset totrue), i.e. set to run automatically when you resolve conflicts. And since you don’t know what it is then I must surmise that you have set it to that value.git-rerere(1) will run if a previous resolution has been recorded in the cache. Check if it exists with
If this cache has old resolutions then you can remove them with:
I think you can just remove the cache:
And maybe disable new resolution recordings by setting
rerere.enabledtofalse.