gh wt list

List managed worktrees

Synopsis

List all worktrees managed by gh-wt (those under the configured worktree directory). Displays the worktree name and associated branch.

gh wt list [flags]

Examples

# List all worktrees
gh wt list

# List worktrees across all repos
gh wt list --all

# Using the alias
gh wt ls

Options

FlagDescription
-a, --alllist worktrees for all repos

Options inherited from parent commands

FlagDescription
--no-colordisable color output
--verboseverbose output
-f, --forceforce operation without prompts