git_show_commit
Show a Git commit's metadata, changed files, and optional patch to review modifications without altering the repository.
Instructions
Show commit metadata, changed files, and optionally its patch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| revision | No | HEAD | |
| contextLine | No | Number of unchanged lines shown before and after each patch change. | |
| findRenames | No | Detect renamed files regardless of repository diff configuration. | |
| includePatch | No | ||
| repositoryId | Yes | ID returned by git_list_repositories |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| output | Yes | ||
| truncated | Yes |