git bisect

Use binary search to find the commit that introduced a bug. Git automatically jumps back and forth in the commit graph to progressively narrow down the faulty commit. More information: https://git-scm.com/docs/git-bisect.

git bisect start bad_commit good_commit

git bisect good|bad

git bisect reset

git bisect skip

git bisect log