git worktree list

List details of each working tree

Options

NameDescription
--porcelainWith list, output in an easy-to-parse format for scripts. This format will remain stable across Git versions and regardless of user configuration. See below for details
-v, --verboseWith list, output additional information about worktrees (see below)
--expire <time>With list, annotate missing working trees as prunable if they are older than <time>