feat(git-control): add branch compare (main/uat/prod), org/single repo support

Made-with: Cursor
This commit is contained in:
2026-02-27 15:43:46 +08:00
parent 2768d58aa3
commit f50d4ab4a3
4 changed files with 227 additions and 3 deletions
@@ -53,3 +53,11 @@ Auth: `Authorization: token {ApiToken}`
| Remove member | DELETE | `/teams/{id}/members/{username}` |
Team permission: `permission` = "none"|"read"|"write"|"admin"|"owner"
## Branch Compare
| Action | Method | Path |
|--------|--------|------|
| Compare | GET | `/repos/{owner}/{repo}/compare/{base}...{head}` |
Returns commits in `head` that are not in `base`. Use `base...head` (three dots) format.