What workbranch does
Four small workflows for task workspaces, branch sync, combined flows, and local tools.
Workspace lifecycle
Set up the worktree environment.
workbranch initCreate or clone the shared base worktrees from project config.
workbranch addCreate one task folder with linked worktrees for every configured repo.
workbranch removeRemove a task workspace, its worktrees, and local task branches.
Each task becomes a small mono-repo workspace, so an AI agent can use frontend and backend in the same session.
Branch workflow
Pull fresh base branches, update task branches, push work, and land finished changes without memorizing worktree plumbing.
workbranch pushPush base branches or a specific task branch to origin.
workbranch pullPull remote base branches into the local _base repos.
workbranch updateMerge local base changes into one task workspace or every task workspace.
workbranch landFast-forward finished task work back into local base branches.
Combined flow
Run the common multi-step flows — refresh, finalize, prune — with one command.
workbranch refreshPull base branches, then update every task workspace.
workbranch refresh <task>Pull base branches, then update one task workspace.
workbranch finalize <task>Pull base branches, update one task, then land it into local base branches.
workbranch pruneRemove clean task workspaces already merged into local base branches.
Tool commands
Open the whole task workspace in your editor or terminal without finding each repo by hand.