git show
Shows information about a Git object (commit, tag, tree, or blob).
Syntax
git show [<options>] <object>...
Options
- --stat: Shows file change statistics without the full diff
- --name-only: Shows only the names of changed files
- --format=<format>: Customizes the output format
Example
git show HEAD git show abc1234 git show v1.0.0 git show HEAD:src/app.ts