git branch
List local git branches enriched with their GitLab Merge Request status.
Usage
fns-cli git branchFlags
| Flag | Description |
|---|---|
-h, --help | Show help |
Output
Each local branch is listed with a color-coded MR state label:
| State | Color | Meaning |
|---|---|---|
opened | Green | An open MR exists for this branch |
merged | Blue | The MR has been merged |
closed | Red | The MR was closed without merging |
none | Gray | No MR found for this branch |
Tips
- The GitLab project namespace is inferred automatically from the git remote URL — no configuration needed per project.
- Useful for a quick overview of which local branches have open, merged, or no MRs before cleaning up stale branches.
