Posted On: Feb 22, 2018
The GIT Bisect command is used to find the commit that has introduced a bug by using binary search.
Purpose of GIT Bisect command
The command uses a binary search algorithm to find which commit in the project’s history has introduced a bug.
Before the bug is introduced into the commit, the commit is referred as “good”; after the introduction of the bug, it is referred as “bad”.
Then the command used picks a commit between those endpoints and asks what kind of commit is it. The process continues till it finds the exact commit that introduced the change.
Never Miss an Articles from us.
GIT is a Distributed Version Control System (DVCS) and Source Code Management System (SCMS) which can track changes to a..
GIT stash:It takes the current state of working directory and index and pushes into the stack for later and returns to ..
GIT diff – It shows the changes between commits, commits and working tree.GIT status – It shows the difference b..