Skip to content

The list command displays a text table of all worktrees in the current repository with their status, branch, current task, and tmux session information.

Usage

bash
owt list [OPTIONS]

Alias: owt ls

Options

OptionDescription
-a, --allShow all worktrees including main

Examples

Basic Usage

bash
owt list

Output:

┌──────────────────┬───────────────────┬──────────┬──────────────────────────┬──────────────────┐
│ Name             │ Branch            │ Status   │ Current Task             │ tmux Session     │
├──────────────────┼───────────────────┼──────────┼──────────────────────────┼──────────────────┤
│ add-auth         │ feature/add-auth  │ working  │ Implement JWT auth...    │ owt-add-auth     │
│ fix-nav          │ bugfix/fix-nav    │ idle     │ Fix navigation crash     │ owt-fix-nav      │
│ api-v2           │ feature/api-v2    │ working  │ Build REST endpoints     │ owt-api-v2       │
└──────────────────┴───────────────────┴──────────┴──────────────────────────┴──────────────────┘

Include Main Worktree

bash
owt list --all

Output:

┌──────────────────┬───────────────────┬──────────┬──────────────────────────┬──────────────────┐
│ Name             │ Branch            │ Status   │ Current Task             │ tmux Session     │
├──────────────────┼───────────────────┼──────────┼──────────────────────────┼──────────────────┤
│ main             │ main              │ -        │ -                        │ -                │
│ add-auth         │ feature/add-auth  │ working  │ Implement JWT auth...    │ owt-add-auth     │
│ fix-nav          │ bugfix/fix-nav    │ idle     │ Fix navigation crash     │ owt-fix-nav      │
└──────────────────┴───────────────────┴──────────┴──────────────────────────┴──────────────────┘

Columns

ColumnDescription
NameWorktree identifier
BranchGit branch checked out in the worktree
StatusCurrent AI agent activity status
Current TaskThe last task sent to the AI agent
tmux SessionName of the associated tmux session

See Also