git_compare_refs
Compare two Git refs to determine their merge base and ahead/behind counts, showing how they diverge.
Instructions
Resolve two refs and report merge base and ahead/behind counts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| left | Yes | ||
| right | Yes | ||
| repositoryId | Yes | ID returned by git_list_repositories |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| output | Yes | ||
| truncated | Yes |