5.1. Git Bisect
Completion requirements
Go through the activity to the end
Git Bisect: Squashing bugs
Imagine a bug has been discovered in your codebase but you don’t know when or where.
Git provides a utility to track down which commit first introduced the bug.
The command git bisect performs a binary search of the commit history. Give it a bad commit and a good commit, and it will search all of the commits in between.