ateam_github_diff
Compare two branches (default dev vs main) to preview commits and files about to ship, showing ahead_by count for review before promotion.
Instructions
PRE-FLIGHT BEFORE PROMOTE. Compares dev (head) vs main (base) by default — shows exactly which commits and files are about to ship if you call ateam_github_promote() next.
Use this when you want to: • Review changes before promoting to prod • See if dev is ahead of main at all (returns ahead_by: 0 if nothing to promote) • Inspect arbitrary branch/tag/commit comparisons (override base/head)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| solution_id | Yes | The solution ID | |
| base | No | Base branch/tag/sha (the target — what you're comparing TO). Default: 'main'. | main |
| head | No | Head branch/tag/sha (the source — what you're comparing FROM). Default: 'dev'. | dev |