Worktree
Overview
Manage isolated worktrees for parallel agents.
gmc wt is the primary command group.
It uses a bare repository plus sibling worktrees so multiple AI agents can work on the same repo without fighting over one working tree.
Common flow
gmc wt clone https://github.com/user/repo.git
cd repo
gmc wt dup 3
gmc wt listCore commands
gmc wt clonecreates the.barelayout.gmc wt addcreates named worktrees.gmc wt dupfans out candidate worktrees.gmc wt sharesyncs local resources.gmc wt promoteapplies the winning candidate back.gmc wt pruneremoves merged worktrees.
Notes
All worktree operations live under gmc wt. There is no top-level gmc add or gmc clone.