-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Description
Add a Git Command Palette providing a guided, searchable interface for executing Git operations with step-by-step assistance and parameter collection.
Note: This feature provides an alternative command-line interface for Git operations. Many of these operations also have dedicated tool windows that provide richer UI experiences. The Command Palette offers quick keyboard-driven access to the same functionality.
Features
Command Categories
Branch Operations
- Create branch
- Delete branch
- Rename branch
- Checkout/switch branch
- Set upstream
- Prune branches
Commit Operations
- Commit (with message input)
- Amend last commit
- Cherry-pick commit
- Revert commit
Merge & Rebase
- Merge branch
- Rebase onto branch
- Abort merge/rebase
- Continue merge/rebase
Remote Operations
- Fetch (all or specific remote)
- Pull (with options)
- Push (with options)
- Add remote
- Remove remote
Stash Operations
- Stash changes
- Pop stash
- Apply stash
- Drop stash
- List stashes
Tag Operations
- Create tag
- Delete tag
- Push tags
Worktree Operations
- Create worktree
- Remove worktree
- List worktrees
Guided Workflows
- Step-by-step parameter collection
- Validation at each step
- Preview of command before execution
- Cancel/back navigation
- Help text for each option
Search & Quick Access
- Fuzzy search for commands
- Recent commands list
- Favorite commands
- Keyboard navigation
UI Design
- Modal dialog with search box
- Categorized command list
- Step-by-step wizard for complex commands
- Command preview panel
- Output/result display
Configuration Options
- Show recent commands count
- Favorite commands list
- Default options per command
- Confirmation prompts toggle
Related Issues (Dedicated Tool Windows)
The following issues provide dedicated UI experiences for operations also available in the Command Palette:
- feat(stash): add stash management features #11 - Stash management tool window (rich UI for stash operations)
- feat(views): add Branches management tool window #22 - Branches management tool window (rich UI for branch operations)
- feat(views): add Tags management tool window #23 - Tags management tool window (rich UI for tag operations)
- feat(worktrees): add Git Worktrees support #27 - Worktrees tool window (rich UI for worktree operations)
- feat(repo): add repository management features #10 - Repository management (remote operations)
The Command Palette complements these tool windows by providing quick keyboard-driven access. Users can choose their preferred workflow.
Acceptance Criteria
- All listed Git operations are available
- Search finds commands quickly
- Guided workflows collect parameters correctly
- Commands execute successfully
- Error handling provides useful feedback
- Recent/favorite commands work