Git · Inspection and internals

git bisect

Finds the commit that introduced a bug with a binary search.

Syntax
git bisect start

Example

Example
git bisect start
git bisect bad
git bisect good v1.0

More in this group

git archive git grep git ls-files git rev-parse git shortlog git show-ref

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course