git_diff
Read a git diff from a local repository to inspect unstaged or staged changes. Specify an optional ref, range, or pathspec to view exactly the modifications you need.
Instructions
Read a git diff from the local repository.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional local working directory or repository path. | |
| ref | No | Optional ref, range, or pathspec to diff. | |
| staged | No | Use git diff --staged. |