What is git bisect? How can you use it to determine the source of a (regression) bug?
Answer / Sagar Agnihotri
Git Bisect is a command that helps find the commit where a regression was introduced. You start by marking the latest 'good' and 'bad' commits, then Git Bisect automatically checks out intermediate commits and compiles the project to see if it still has the bug. If the bug persists, Git Bisect will continue checking out earlier commits until it finds the commit that introduced the regression.
| Is This Answer Correct ? | 0 Yes | 0 No |
Name some git commands and also explain their functions?
How can conflict in git resolved?
What is the difference between fork, branch, and clone?
How to resolve a conflict in git?
What is the function of ‘git stash apply’?
What is the command you can use to write a commit message?
How to squash or fixup commits?
What does ‘hooks’ consist of in git?
What is the difference between git vs svn
What is a repository and how will you create it?
What is a git commit and what does the commit object contain?
What is the function of ‘GIT PUSH’ in GIT?