AI engineering glossary · Command line Git

What is bisect?

Bisect (also called git bisect): A Git search that finds the commit that introduced a bug by binary search. You mark one good and one bad commit, and Git repeatedly checks out the midpoint until it isolates the culprit in a logarithmic number of steps.

Level: advancedTopic: Command line Git

Bisect: an example

Among 1,000 commits, git bisect needs about 10 tests to identify the one that broke accuracy.

Related terms

More Command line Git terms

Where you learn it

Bisect is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.