compare_commits
Compare two Git commits with detailed analysis. Specify commit references, filter by file pattern, and choose output format (unified, stat, or name-only) to review code changes between any two points in your repository.
Instructions
Compare two commits with detailed analysis
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commit1 | Yes | First commit hash or reference | |
| commit2 | Yes | Second commit hash or reference | |
| filePattern | No | File pattern to filter | |
| format | No | Output format | |
| cwd | No | Working directory |