wt select
Interactive worktree picker with live preview. Navigate worktrees with keyboard shortcuts and press Enter to switch.
Examples
Open the selector:
Preview tabs
Toggle between views with number keys:
- HEAD± — Diff of uncommitted changes
- history — Recent commits on the branch
- main…± — Diff of all changes vs main branch
Keybindings
| Key | Action |
|---|---|
↑/↓ or j/k | Navigate worktree list |
Enter | Switch to selected worktree |
Esc or q | Cancel |
/ | Filter worktrees |
1/2/3 | Switch preview tab |
Alt+p | Toggle preview panel |
Ctrl-u/Ctrl-d | Scroll preview up/down |
See also
- wt list — Static table view with all worktree metadata
- wt switch — Direct switching when you know the target branch
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