Skip to content
Theme:

Stop resolving the same merge conflict multiple times during merge or rebase using git rerere

If you read it, you probably experienced a continued queue of resolving the same merge conflict multiple times while merging or rebasing git branches. Wouldn’t it be helpful if git could “reuse recorded resolution” for us? The “rerere” tool does precisely that, and you can enable it using the command below.

 git config --global rerere.enabled true
# .gitconfig

[rerere]
  enabled = true

Thanks for this tip Max 🫶

Leave a comment

👆 you can use Markdown here

Your comment is awaiting moderation. Thanks!