git_show
Inspect a specific commit's metadata and patch to see exactly what it changed. Defaults to HEAD if no commit is specified.
Instructions
Render a commit's metadata and patch, defaulting to HEAD. Use this to inspect exactly what a specific commit changed — answering 'what did this commit do?' — or to view the latest change by omitting object. Best for: inspecting what a specific commit changed. Returns: a summary line ' , : ', followed by the commit header and its diff; stat defaults to True and shows a diffstat summary only. Does NOT list history — use git_log to find commits; does NOT compare working tree changes — use git_diff for that.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stat | No | Show a diffstat summary | |
| object | No | Commit, tag or object to show; defaults to HEAD | |
| repo_path | No | Path to the git repository, defaults to '.' (the server working directory) | . |