Git · Everyday workflow
git show
Shows a commit, tag or object with its diff.
Syntax
git show <ref>Example
Example
git show HEAD git show HEAD~1 --stat
More in this group
Learn this in the course
Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.