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?
- Git Blame
- Git Log
- Git Show
- Git Diff
The correct option is Git Blame, which shows the author and last modification of each line in a file. This helps identify who made specific changes in a commit.
Loading...
Related Quiz
- A developer discovers that confidential files were accidentally committed to a public Git repository. What steps should be taken to resolve this?
- When transitioning to Git, what strategy helps in preserving the history of a legacy codebase?
- In terms of secure Git practices, what is the significance of signed commits?
- When merging branches, which Git command is used to create a new commit that represents the combined changes?
- If you have committed the wrong files to Git, what command can you use to undo this last commit?