Skip to content

feat(commands): add Git Command Palette #34

@CalvinAllen

Description

@CalvinAllen

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:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestphase-2Phase 2: File History & Commit Detailspriority: mediumMedium priority item

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions