Hacker ApprovedDepartments

Mergiraf

Hacker Approved

Shares rank 3 of 13 diff tools by recommenders

Syntax-aware Git merge driver that automatically resolves many conflicts and saves rebase time; it fails when both sides insert at the same tree position.

Syntax-aware Git merge driver that automatically resolves many conflicts and saves rebase time; it fails when both sides insert at the same tree position.

23 people gave an opinion

recommend it
19
criticize it
4
approval share
83%
Each figure is one person. RecommendsCriticizes

Recommended in 5 of 13 months

  1. November 2025: recommended
  2. December 2025: recommended
  3. January 2026: not recommended
  4. February 2026: not recommended
  5. March 2026: recommended
  6. April 2026: not recommended
  7. May 2026: not recommended
  8. June 2026: recommended
  9. July 2026: recommended
  10. August 2026: not recommended
  11. September 2026: not recommended
  12. October 2026: not recommended
  13. November 2026: not recommended (month in progress)

Owned for 6 months

Median of the 3 owners who said how long they have had it.

Each square is one year.

Why it carries the badge

  • 19 people recommend itNeeds 10 or more, met.
  • 4.8 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 5 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Resolves most conflicts automatically

    “I've resolved hundreds of conflicted merges this way and I don't remember it making a single mistake.”

    Comment from 13 Nov 2025 in “Mergiraf: Syntax-Aware Merging for Git”

    “It's automatically solved about 70% of my conflicts and, luckily, I've never contested any of them.”

    Comment from 13 Nov 2025 in “Mergiraf: Syntax-Aware Merging for Git”

    “has a pretty good success rate for my work”

    Comment from 23 Mar 2026 in “A Coherent Vision for the Future of Version Control”
  • Saves time on rebases

    “Guys, there's a tool called mergiraf that does wonders. I don't remember my last rebase”

    Comment from 23 Mar 2026 in “A Coherent Vision for the Future of Version Control”

    “I find Mergiraf pretty pleasant to use and frequently pretty helpful as a time-saver.”

    Comment from 9 Mar 2026 in “Beagle, a source code management system that stores AST trees”

    “could save a lot of time and pain in big projects”

    Comment from 13 Nov 2025 in “Mergiraf: Syntax-Aware Merging for Git”
  • Works with jj and tree-sitter

    “just `jj resolve --tool mergiraf` and some conflicts go away”

    Comment from 13 Nov 2025 in “Mergiraf: Syntax-Aware Merging for Git”

    “for tree-sitter-based conflict resolution”

    Comment from 14 Jul 2026 in “The Git history command deserves more attention”

    “uses mergiraf as the resolution driver”

    Comment from 14 Jun 2026 in “Weave: Merging based on language structure and not lines”
  • Syntax-aware merging preferred over line-based

    “That's why mergiraf gives you much better performance without any errors.”

    Comment from 13 Nov 2025 in “Mergiraf: Syntax-Aware Merging for Git”

    “I also thought that a semantic merge is the best solution”

    Comment from 23 Mar 2026 in “A Coherent Vision for the Future of Version Control”

What people warn about

Each mark is one comment

  • Fails when both sides insert at same position

    “Mergiraf works at tree-node level, so when both sides insert at the same tree position it can't distinguish them.”

    Comment from 11 Feb 2026 on Hacker News

    “The 5 scenarios where mergiraf fails are both-add-at-same-position and decorator conflicts.”

    Comment from 16 Feb 2026 on Hacker News

Other diff tools people recommend

The four most recommended other diff tools, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

Mergiraf compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
difftastic23196%10—Approved
Weave merge tool201165%6——
MergirafThis page19483%56 mo3 ownersApproved
sem19773%5—Approved
Meld12286%5—Approved
See all 13 diff tools, ranked

What people said

27 of the 28 comments that mention it, newest first. Each links to the original comment.

“The documentation is truly a thing of beauty.”

RecommendsComment from 14 Jul 2026 in “The Git history command deserves more attention”

“I absolutely love the images on the landing page.”

RecommendsComment from 14 Jul 2026 in “The Git history command deserves more attention”

“for tree-sitter-based conflict resolution”

RecommendsComment from 14 Jul 2026 in “The Git history command deserves more attention”

“an example for the merge stuff I couldn't find while typing before”

RecommendsComment from 17 Jun 2026 in “Epic Games announces Lore version control system”

“uses mergiraf as the resolution driver”

RecommendsComment from 14 Jun 2026 in “Weave: Merging based on language structure and not lines”

“has a pretty good success rate for my work”

RecommendsComment from 23 Mar 2026 in “A Coherent Vision for the Future of Version Control”

“I also thought that a semantic merge is the best solution”

RecommendsComment from 23 Mar 2026 in “A Coherent Vision for the Future of Version Control”

“the one I am enthusiastic about today is Mergiraf”

RecommendsComment from 23 Mar 2026 in “A Coherent Vision for the Future of Version Control”

“Guys, there's a tool called mergiraf that does wonders. I don't remember my last rebase”

RecommendsComment from 23 Mar 2026 in “A Coherent Vision for the Future of Version Control”

“I find Mergiraf pretty pleasant to use and frequently pretty helpful as a time-saver.”

RecommendsComment from 9 Mar 2026 in “Beagle, a source code management system that stores AST trees”

“I've had good experience with it so far, although I rarely even need it.”

RecommendsComment from 4 Mar 2026 in “Weave – A language aware merge algorithm based on entities”

“instead of a tree of node triples”

CriticizesComment from 4 Mar 2026 in “Weave – A language aware merge algorithm based on entities”

“Sadly neither support bash out of the box”

MixedComment from 4 Mar 2026 in “Weave – A language aware merge algorithm based on entities”

“The 5 scenarios where mergiraf fails are both-add-at-same-position and decorator conflicts.”

CriticizesComment from 16 Feb 2026 on Hacker News

“Mergiraf works at tree-node level, so when both sides insert at the same tree position it can't distinguish them.”

CriticizesComment from 11 Feb 2026 on Hacker News

“conflict resolution with mergiraf”

RecommendsComment from 4 Dec 2025 in “Programming peaked”

“Don't use it in when you write code for critical infrastructure or aviation please.”

CriticizesComment from 14 Nov 2025 in “Mergiraf: Syntax-Aware Merging for Git”

“ended up with so many weird problems that I eventually tracked down to being caused by it”

CriticizesComment from 13 Nov 2025 in “Mergiraf: Syntax-Aware Merging for Git”

“I've resolved hundreds of conflicted merges this way and I don't remember it making a single mistake.”

RecommendsComment from 13 Nov 2025 in “Mergiraf: Syntax-Aware Merging for Git”

“That's why mergiraf gives you much better performance without any errors.”

RecommendsComment from 13 Nov 2025 in “Mergiraf: Syntax-Aware Merging for Git”

“I think C might be a pretty weak language for this tool because you can't really parse it without running the whole preprocessor”

CriticizesComment from 13 Nov 2025 in “Mergiraf: Syntax-Aware Merging for Git”

“6,987 still resulted in conflicts, but 428 were resolved successfully.”

MixedComment from 13 Nov 2025 in “Mergiraf: Syntax-Aware Merging for Git”

“Not a gamechanger, but definitely on the positive side.”

RecommendsComment from 13 Nov 2025 in “Mergiraf: Syntax-Aware Merging for Git”

“It's automatically solved about 70% of my conflicts and, luckily, I've never contested any of them.”

RecommendsComment from 13 Nov 2025 in “Mergiraf: Syntax-Aware Merging for Git”

“just `jj resolve --tool mergiraf` and some conflicts go away”

RecommendsComment from 13 Nov 2025 in “Mergiraf: Syntax-Aware Merging for Git”

“could save a lot of time and pain in big projects”

RecommendsComment from 13 Nov 2025 in “Mergiraf: Syntax-Aware Merging for Git”

“can significantly simplify developers' lives”

MixedComment from 3 Nov 2025 in “Mergiraf: Syntax-Aware Merging for Git”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.