Promptles
Git & Collaboration

git bisect

advanced

Definition

A Git command that finds which commit introduced a bug by repeatedly checking out a version halfway between a known-good and a known-bad one and asking you whether the bug is there.

In the wild

The receipt totals worked last month and are wrong today, 200 commits later; git bisect narrows it down to the one guilty commit in about eight checks.

More from Git & Collaboration