# git rerere

19 Hacker News commenters recommended git rerere and 4 criticized it, November 2025 to November 2026. It was recommended in 8 of 13 months. It meets the Hacker Approved badge rule.

**Verdict:** Git's built-in cache that reuses your earlier conflict resolutions when the same conflict recurs, saving repeated fixes. Critics warn it can cache mistakes unnoticed.

## Why people recommend it

- Resolves repeated conflicts automatically (4 comments): "git rerere will resolve repeated conflicts for you automatically, you just need to enable it." ([source](https://news.ycombinator.com/item?id=49347601)) "rerere helps me by only having to fix the conflict once, not potentially multiple times" ([source](https://news.ycombinator.com/item?id=48358558)) "reduces the need to resolve the same conflict over and over" ([source](https://news.ycombinator.com/item?id=45882627))
- Eases pain of repeated rebases (4 comments): "rerere is still useful here to handle merge conflicts after repeated rebases." ([source](https://news.ycombinator.com/item?id=48357554)) "`rerere` takes a lot of the pain out of layering rebased changes." ([source](https://news.ycombinator.com/item?id=49056258)) "git rerere would have saved me in the past" ([source](https://news.ycombinator.com/item?id=46601999))

## What people warn about

- Can cache mistakes and regressions (2 comments): "it will also cache any mistakes in merging including things like bug regressions" ([source](https://news.ycombinator.com/item?id=49350550)) "rerere cache problems are things that can go unnoticed for weeks to everyone's confusion" ([source](https://news.ycombinator.com/item?id=46434762))
- Seen as unnecessary or counterproductive (2 comments): "Rerere is dangerous and counterproductive - it tries to give rebase the same functionality that merge has" ([source](https://news.ycombinator.com/item?id=46789643)) "tried rerere and didn't see the point" ([source](https://news.ycombinator.com/item?id=48358311))

## Alternatives hackers recommend

- [Git worktree](https://hackerapproved.com/p/git-worktrees.md): 58 recommend
- [git rebase](https://hackerapproved.com/p/git-rebase.md): 24 recommend
- [Git submodules](https://hackerapproved.com/p/git-submodules.md): 14 recommend
- [git add -p](https://hackerapproved.com/p/git-add-p.md): 13 recommend
- [Git notes](https://hackerapproved.com/p/git-notes.md): 11 recommend

## Cite as

Hacker Approved, "git rerere", https://hackerapproved.com/p/git-rerere/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
