wt select

Interactive worktree picker with live preview. Navigate worktrees with keyboard shortcuts and press Enter to switch.

wt select demo

Examples

Open the selector:

wt select

Preview tabs

Toggle between views with number keys:

  1. HEAD± — Diff of uncommitted changes
  2. history — Recent commits on the branch
  3. main…± — Diff of all changes vs main branch

Keybindings

KeyAction
/ or j/kNavigate worktree list
EnterSwitch to selected worktree
Esc or qCancel
/Filter worktrees
1/2/3Switch preview tab
Alt+pToggle preview panel
Ctrl-u/Ctrl-dScroll preview up/down

See also


Command reference

wt select - Interactive worktree selector

Toggle preview tabs with 1/2/3 keys. Toggle preview visibility with alt-p.
Usage: wt select [OPTIONS]

Options:
  -h, --help
          Print help (see a summary with '-h')

Global Options:
  -C <path>
          Working directory for this command

      --config <path>
          User config file path

  -v, --verbose
          Show commands and debug info