Skip to content
Cockpit0.29.0
A snapshot: read at commit 707a04c7ce8 on 2026-10-18T00:06:01Z by majordomus 0.29.0. Nothing on this page is read again. See it live

Worktrees

Where every branch's worktree belongs and where each one is: <repo>-wt/<branch>, derived from git and registered nowhere.

1worktreesworktree.topology
0canonicalworktree.topology
0misplacedworktree.topology
0detachedworktree.topology
0ephemeralworktree.topology
0missingworktree.topology
0lockedworktree.topology
1dirtyworktree.topology
1branchesworktree.topology
0branches without worktreeworktree.topology
0cleanup eligibleworktree.topology
0errorsworktree.topology
0warningsworktree.topology

This repository

Primary checkout
/home/runner/work/prismatic-majordomus/prismatic-majordomus
Container
/home/runner/work/prismatic-majordomus/prismatic-majordomus-wt (not created yet)
Trunk
master — decided by conventional name
Rule
<repo>-wt/<branch>: the branch name is the path, hierarchy kept, derived from git and registered nowhere
Topology
valid
StandingBranchPathHEADUncommitted workUpstream
primarymaster here/home/runner/work/prismatic-majordomus/prismatic-majordomus707a04c7ce83dirty 0 staged · 1 unstaged · 0 untrackedorigin/master +0 −0

Diagnostics

Every worktree is where it belongs. Nothing to report.

Nothing to migrate: every worktree with a branch is at its canonical path.

Branches without a worktree

Every local branch is checked out somewhere.

Commands

The Cockpit reads; the command line changes things. Every command below is the same service this page renders, and none of them takes a path — the path is derived.

majordomus worktree                          # where am I, and is that where I belong
majordomus worktree create <branch>          # start work: the branch from the trunk, the worktree at its path
cd "$(majordomus worktree path <branch>)"
majordomus worktree migrate --plan           # what would move; nothing changes
majordomus worktree migrate                  # move, verify, report
majordomus worktree repair                   # drop stale registrations; deletes no directory
majordomus worktree cleanup                  # merged and clean: what could go, and how; deletes nothing
majordomus worktree remove <branch>          # one linked worktree; never dirty work unforced, never a branch

Live

While this page is visible it asks /api/v1/worktrees every few seconds and reloads when a worktree is created, moved or removed, so what you see is what git holds now.