show
View detailed commit information, changes, and file statuses in a Git repository. Supports multiple formats, diffstat, and pathspec filtering for precise output.
Instructions
Display commit details and changes.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
commit | No | Commit hash, branch, or tag to show (defaults to HEAD) | |
format | No | Pretty-print format for commit | |
nameOnly | No | Show only names of changed files (--name-only) | |
nameStatus | No | Show names and status of changed files (--name-status) | |
pathspec | No | Limit show to specific paths | |
repoPath | Yes | Absolute path to the git repository | |
stat | No | Show diffstat (--stat) |