How can you find a commit in the Git history that introduced a bug using the git bisect command?

  • git log -S
  • git bisect start
  • git blame
  • git revert
The correct option is B. git bisect start is used to perform a binary search through the commit history, helping identify the commit that introduced a bug. The bisect command automates the process of checking out different commits until the problematic one is found.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *