git_diff
Compare code changes across the working tree, staged index, or any two revisions, and output as patch, stat, or name-status.
Instructions
Compare working tree, index, or two revisions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | ||
| head | No | ||
| mode | No | working | |
| path | No | ||
| format | No | patch | |
| mergeBase | No | ||
| repositoryId | Yes | ID returned by git_list_repositories |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| output | Yes | ||
| truncated | Yes |