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.
Loading...
Related Quiz
- In a collaborative project, a developer wants to ensure the authenticity and integrity of a release. What Git feature can they use to achieve this?
- How do you merge changes from a Subtree back into the main repository?
- How can branch management in Git optimize the CI/CD process?
- Which Git command is typically used to upload your local repository to a cloud platform?
- How do branching strategies in Git influence project management in large enterprises?