enhanced_git_diff
Compare Git changes with customizable options: choose formats (unified, side-by-side, stat, word-diff), ignore whitespace, set context lines, and enable color output for clarity.
Instructions
Show git diff with multiple format options (unified, side-by-side, stat, word-diff)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| colorOutput | No | Enable color output | |
| commit1 | No | First commit for comparison | |
| commit2 | No | Second commit for comparison | |
| contextLines | No | Number of context lines (default: 3) | |
| cwd | No | Working directory | |
| file | No | Specific file to diff | |
| format | No | Diff format | |
| ignoreWhitespace | No | Ignore whitespace changes | |
| staged | No | Show staged changes |