haops_get_branch_diff
Compare two Git branches to see commits ahead and behind, changed files, diff content, and detect conflicts before creating a merge request.
Instructions
Compare two branches in a HAOps Git repository. Returns commits ahead/behind, changed files with stats, diff content, and conflict detection. Use before creating an MR to preview changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectSlug | Yes | The project slug (URL identifier) | |
| sourceBranch | Yes | Source branch | |
| targetBranch | Yes | Target branch | |
| repositoryName | No | Repository name for multi-repo projects (default: first/main repo) |