-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requestphase-2Phase 2: File History & Commit DetailsPhase 2: File History & Commit Detailspriority: mediumMedium priority itemMedium priority item
Description
Description
Add a Branches tool window for comprehensive branch management, providing visibility into all local and remote branches with quick actions.
Features
Branch Display
- List all local branches
- List all remote branches (grouped by remote)
- Current branch indicator
- Upstream tracking status
- Ahead/behind commit counts
- Pull request associations (when available)
Branch Actions
- Create new branch
- Delete branch (with confirmation)
- Rename branch
- Checkout/switch branch
- Set/change upstream tracking
- Push branch to remote
- Pull from upstream
- Merge branch into current
- Rebase onto branch
- Compare branches
Organization
- Sort by: name, date, author
- Group by: local/remote, none
- Filter/search branches
- Show/hide merged branches
- Favorite branches (pinned to top)
- Hide specific branches
Visual Indicators
- Current branch highlighting
- Ahead/behind badges
- PR status icons
- Stale branch indicators
- Protected branch markers
Configuration Options
- Default view (local only, all, favorites)
- Sort preference
- Show/hide remote branches
- Stale branch threshold (days)
- Auto-refresh interval
Related Issues
- feat(commands): add Git Command Palette #34 - Git Command Palette (provides alternative command-driven access to branch operations)
- feat(integrations): add remote provider integrations #24 - Remote provider integrations (enables PR status icons and enhanced info)
- feat(compare): add branch and tag comparison features #13 - Branch comparison features (extends comparison capabilities)
Note: This tool window provides a rich visual interface for branch management. The same operations are also available via the Git Command Palette (#34) for users who prefer keyboard-driven workflows.
Acceptance Criteria
- All local and remote branches displayed
- Branch actions execute correctly
- Ahead/behind counts are accurate
- PR associations shown when available
- Search and filter work correctly
- Favorite/hide functionality works
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestphase-2Phase 2: File History & Commit DetailsPhase 2: File History & Commit Detailspriority: mediumMedium priority itemMedium priority item