git_diff
Returns diffs of modified or staged changes, optionally scoped to a file or repository directory, so you can review what changed before committing or integrating.
Instructions
Returns git diff of modified files or staged changes
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional repository working directory | |
| file | No | Specific file path to diff | |
| staged | No | Whether to inspect staged changes (--cached) |