Git Diff
git.diffObtain a git diff summary and structured diff for the current working tree, comparing changes against any specified ref or HEAD.
Instructions
Return git diff summary and structured diff for the current working tree.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | ||
| ref | No | Optional git ref to diff against. Defaults to HEAD. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changedFiles | Yes | ||
| stats | Yes |