Skip to content

workler list

Show every workspace with its branch and path.

bash
workler list

Behavior

Lists the main project (as main) and every clone under .worktrees/, with each one's current branch and absolute path. A detached HEAD shows as (detached <sha>).

Directories under .worktrees/ that are not usable clones are omitted here — workler status shows them flagged as broken.

Output

text
NAME       BRANCH             PATH
main       main               /path/to/project
feature-a  feature-a          /path/to/project/.worktrees/feature-a
hotfix     (detached 1a2b3c4) /path/to/project/.worktrees/hotfix

Examples

bash
workler list
cd "$(workler path feature-a)"    # then jump into one

Released under the MIT License.