Interactive TUI for managing git worktrees.
go install github.com/ragamo/wtree@latestOr download a binary from Releases.
# Launch interactive TUI
wtree
# Non-interactive commands
wtree list # List worktrees (pipeable)
wtree add <branch># Create worktree (default path: ../<branch>)
wtree add -b <branch># Create worktree with new branch
wtree remove <path># Remove worktree
wtree remove --force # Force remove| Key | Action |
|---|---|
n/a | New worktree |
d | Delete worktree |
/ | Filter |
? | Help |
q | Quit |
make build # dev build
make build VERSION=1.0.0 # versioned build