module
Version:
v1.0.2
Opens a new window with list of versions in this module.
Published: Aug 26, 2025
License: MIT
Opens a new window with license information.
README
¶
git-worktree-tui

A minimal, keyboard-first TUI for Git worktrees built with Bubble Tea. List, create, open in your editor, and delete worktrees.

Quick keys
| Context |
Key |
Action |
| Worktree picker |
↑/↓ or j/k |
Move selection |
| Worktree picker |
a |
Add new worktree (open branch picker) |
| Worktree picker |
d |
Delete selected worktree (inline confirm) |
| Worktree picker |
Enter |
Open selected worktree in $VISUAL/$EDITOR or confirm delete |
| Worktree picker |
r |
Refresh worktrees |
| Worktree picker |
Esc |
Cancel delete confirmation |
| Branch picker |
n |
Create new branch (inline input) |
| Branch picker |
Enter |
Select branch / create new branch and worktree |
| Branch picker |
Esc |
Back to list |
| List |
q or Ctrl+C |
Quit |
| Anywhere |
Ctrl+C |
Quit |
Tip: The help footer updates based on what you can do at the moment.
Features
- 📂 List existing worktrees with branch and path info
- ➕ Create a worktree from a local or remote branch
- 🌱 Create a brand‑new branch and worktree in one step
- 📝 Open the selected worktree in your
$VISUAL/$EDITOR with Enter
Install
Install with Go:
go install github.com/fredrikmwold/git-worktree-tui/cmd/worktree-tui@latest
Or download a prebuilt binary from the Releases page and place it on your PATH:
Directories
¶
cmd
|
|
|
|
|
internal
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.