Hacker ApprovedDepartments

git bisect

Hacker Approved

Debugging tool in Developer tools

Recommended for pinning down the commit that introduced a bug, often faster than reading history. Main caveat: it needs a reliable good/bad test.

Recommended for pinning down the commit that introduced a bug, often faster than reading history. Main caveat: it needs a reliable good/bad test.

49 people gave an opinion

recommend it
44
criticize it
5
approval share
90%
Each figure is one person. RecommendsCriticizes

Recommended in 5 of 13 months

  1. November 2025: recommended
  2. December 2025: not recommended
  3. January 2026: recommended
  4. February 2026: recommended
  5. March 2026: recommended
  6. April 2026: not recommended
  7. May 2026: not recommended
  8. June 2026: not 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)

Why it carries the badge

  • 44 people recommend itNeeds 10 or more, met.
  • 8.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

  • Pinpoints the commit that caused a bug

    “I once root-caused a revenue-losing bug that had the entire rest of my team stumped with ten minutes of git-bisect.”

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

    “Rather quickly, it'll point you to the commit that caused the regression.”

    Comment from 13 Jan 2026 in “Git Rebase for the Terrified”

    “In the two cases I used it, it identified the individual commit.”

    Comment from 13 Jan 2026 in “Git Rebase for the Terrified”
  • Faster than reading logs or code

    “with time to write a bisect script and half an hour to run the bisect session I was able to find the commit”

    Comment from 3 Nov 2025 in “At the end you use `git bisect`”

    “It's often a lot faster to bisect than to read the log over the month or two since I touched something.”

    Comment from 2 Nov 2025 in “At the end you use `git bisect`”

    “Even if you can reason through a code base a bisect can still be much quicker.”

    Comment from 2 Nov 2025 in “At the end you use `git bisect`”
  • Runs unattended with a pass/fail script

    “Git bisect is a wonder, especially combined with its ability to potentially do the success/fail testing on its own”

    Comment from 13 Jan 2026 in “Git Rebase for the Terrified”

    “connected to a script that outputs good/bad, is one of computing's crowning achievements”

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

    “The fact that it's noninteractive means that you can do other work in the meantime.”

    Comment from 3 Nov 2025 in “At the end you use `git bisect`”
  • Handles messy, tangled codebases

    “Git bisect was an extremely powerful tool when I worked in a big-ball-of-mud codebase”

    Comment from 2 Nov 2025 in “At the end you use `git bisect`”

    “bisect is really handy because often a bug will have been introduced as a side-effect”

    Comment from 2 Nov 2025 in “At the end you use `git bisect`”

    “--first-parent with bisect really helps when the history is messy.”

    Comment from 13 Jan 2026 in “Git Rebase for the Terrified”

What people warn about

Each mark is one comment

  • Slow to set up or run

    “with time to write a bisect script and half an hour to run the bisect session I was able to find the commit”

    Comment from 3 Nov 2025 in “At the end you use `git bisect`”

    “the search for bad commit is more lengthy and less informative than doing the normal experimental process”

    Comment from 13 Jan 2026 in “Git Rebase for the Terrified”

    “IMHO git bisect is slower, especially depending on the reload/hot-reload/compile/whatever process”

    Comment from 5 Feb 2026 in “A Broken Heart”

What people recommend instead

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.

git bisect compared with 1 alternative
ProductRecommendCriticizeApprovalMonthsOwnedBadge
git bisectThis page44590%5—Approved
MCP Inspector7278%4——

What people said

40 of the 55 comments that mention it, newest first. Each links to the original comment.

“The ability to drill down with a second `git bisect` run”

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

“Bisect exists to be a tool you can use to fix the problems you are facing.”

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

“connected to a script that outputs good/bad, is one of computing's crowning achievements”

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

“I once root-caused a revenue-losing bug that had the entire rest of my team stumped with ten minutes of git-bisect.”

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

“bisect is designed to tracks changes from good state to bad state based on your personal criteria”

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

“git bisect works great for tracking down regressions”

RecommendsComment from 28 Mar 2026 in “Show HN: Git bayesect – Bayesian Git bisection for non-deterministic bugs”

“IMHO git bisect is slower, especially depending on the reload/hot-reload/compile/whatever process”

CriticizesComment from 5 Feb 2026 in “A Broken Heart”

“I actually think that is the most useful time to use bisect.”

RecommendsComment from 14 Jan 2026 in “Git Rebase for the Terrified”

“the search for bad commit is more lengthy and less informative than doing the normal experimental process”

MixedComment from 13 Jan 2026 in “Git Rebase for the Terrified”

“Git bisect is a wonder, especially combined with its ability to potentially do the success/fail testing on its own”

RecommendsComment from 13 Jan 2026 in “Git Rebase for the Terrified”

“In the two cases I used it, it identified the individual commit.”

RecommendsComment from 13 Jan 2026 in “Git Rebase for the Terrified”

“--first-parent with bisect really helps when the history is messy.”

RecommendsComment from 13 Jan 2026 in “Git Rebase for the Terrified”

“Rather quickly, it'll point you to the commit that caused the regression.”

RecommendsComment from 13 Jan 2026 in “Git Rebase for the Terrified”

“every commit being a "good" historical commit allowed that to be much easier”

RecommendsComment from 13 Jan 2026 in “Git Rebase for the Terrified”

“There's a "git bisect" command waiting to get in the game”

RecommendsComment from 4 Jan 2026 in “Jeffgeerling.com has been Migrated to Hugo”

“it's really nice to be able to point to a changeset when you report it”

RecommendsComment from 5 Nov 2025 in “At the end you use `git bisect`”

“with time to write a bisect script and half an hour to run the bisect session I was able to find the commit”

MixedComment from 3 Nov 2025 in “At the end you use `git bisect`”

“git bisect is great when it works; but you will come across things that cannot be found with git bisect”

MixedComment from 3 Nov 2025 in “At the end you use `git bisect`”

“Often knowing "which PR introduced this bug" is as handy as knowing which commit did it.”

RecommendsComment from 3 Nov 2025 in “At the end you use `git bisect`”

“it will output which commit caused the change”

RecommendsComment from 3 Nov 2025 in “At the end you use `git bisect`”

“The fact that it's noninteractive means that you can do other work in the meantime.”

RecommendsComment from 3 Nov 2025 in “At the end you use `git bisect`”

“Bisecting makes it practical to narrow in on the faulty commit”

RecommendsComment from 3 Nov 2025 in “At the end you use `git bisect`”

“Sometimes git bisect is really nice to have.”

RecommendsComment from 3 Nov 2025 in “At the end you use `git bisect`”

“git bisect is often the quickest way to find that, in a complex system”

RecommendsComment from 3 Nov 2025 in “At the end you use `git bisect`”

“You should know both particularly for emergencies.”

RecommendsComment from 2 Nov 2025 in “At the end you use `git bisect`”

“bisect is really handy because often a bug will have been introduced as a side-effect”

RecommendsComment from 2 Nov 2025 in “At the end you use `git bisect`”

“git bisect was enormously useful when it was introduced in order to find Linux kernel regressions”

RecommendsComment from 2 Nov 2025 in “At the end you use `git bisect`”

“a bisect allows you to understand why the bug was introduced”

RecommendsComment from 2 Nov 2025 in “At the end you use `git bisect`”

“Sometimes though you also need to know how long a bug has been in place”

RecommendsComment from 2 Nov 2025 in “At the end you use `git bisect`”

“probably one of the most important software tools ever”

RecommendsComment from 2 Nov 2025 in “At the end you use `git bisect`”

“I find git bisect indispensable when tracking down weird kernel bugs.”

RecommendsComment from 2 Nov 2025 in “At the end you use `git bisect`”

“Even if you can reason through a code base a bisect can still be much quicker.”

RecommendsComment from 2 Nov 2025 in “At the end you use `git bisect`”

“Git bisect was an extremely powerful tool when I worked in a big-ball-of-mud codebase”

MixedComment from 2 Nov 2025 in “At the end you use `git bisect`”

“It's often a lot faster to bisect than to read the log over the month or two since I touched something.”

RecommendsComment from 2 Nov 2025 in “At the end you use `git bisect`”

“Bisect is for when that happens and the cause is not obvious.”

RecommendsComment from 2 Nov 2025 in “At the end you use `git bisect`”

“run `git biset` to identify what commit introduced the hole”

RecommendsComment from 2 Nov 2025 in “At the end you use `git bisect`”

“Running a bisect to fix which commit introduces it will reduce the area you need to search for the cause.”

RecommendsComment from 2 Nov 2025 in “At the end you use `git bisect`”

“is legit if you have to do the history archaeological digging”

RecommendsComment from 2 Nov 2025 in “At the end you use `git bisect`”

“It's not a workaround. In this case it seems like it, but in general you cannot always rely on your existing tests covering everything.”

RecommendsComment from 2 Nov 2025 in “At the end you use `git bisect`”

“It's still very satisfying to watch run though”

MixedComment from 2 Nov 2025 in “At the end you use `git bisect`”

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