Git · Junior · Question 49 of 75
Which command shows the changes introduced by a single commit?
- ✓Correct answer:
git show <commit> - 2
git status <commit> - 3
git blame <commit>
Explanation
git show prints the commit's metadata and its diff against the parent. It also works with tags and files at a given commit, such as git show HEAD:package.json.