github_compare_branches
Compare two GitHub branches to see ahead/behind commit counts and changed files, helping you assess divergences before merging or reviewing pull requests.
Instructions
Compare two branches showing ahead/behind counts and changed files.
Args: owner: Repository owner repo: Repository name base: Base branch (e.g., 'main') head: Head branch to compare (e.g., 'feature-branch') session_name: GitHub session to use
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | ||
| head | Yes | ||
| repo | Yes | ||
| owner | Yes | ||
| session_name | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |