compare_branches_tool
Compare two GitLab branches, tags, or commits to see file changes and commit differences, aiding code review before merging.
Instructions
Compare two branches, tags, or commits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_ref | Yes | Head branch/tag/commit | |
| from_ref | Yes | Base branch/tag/commit | |
| straight | No | Use straight comparison instead of merge-base (default: false) | |
| project_id | Yes | Project ID or path |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||