During a project audit, you need to find out when a specific bug was introduced. What Git feature can help you trace the origin of this bug?
- blame
- log
- bisect
- show
The correct option is bisect. The git bisect command allows you to perform a binary search through the commit history to identify when a bug was introduced. By marking good and bad commits, Git efficiently narrows down the faulty commit range.
Loading...
Related Quiz
- What is the purpose of a .gitignore file in a Git repository?
- _______ in Git are essential for maintaining different versions of database scripts for various features.
- When cherry-picking a commit, Git creates a new commit with a different ________ even if the content is the same.
- During a code review, a team member notices that a commit contains a bug. What Git feature can they use to identify who made the specific changes?
- How does Git support distributed teams in handling merge conflicts?