work tree
In Git version control, an isolated working directory separate from the main repository, used to work on multiple branches or tasks in parallel without interference.
As defined in mQfTdNVCOB0
Where it comes up · 1
Most important claims · 2 of 2Search all claims for “work tree” →
- The operator pattern involves opening multiple independent Claude Code terminal windows simultaneously, each with its own isolated context window and branch (via git work trees), allowing parallel execution of independent tasks without context interference, where the user acts as orchestrator coordinating across terminals.Every Claude Code Workflow Explained (& When to Use Each)
- Closing a work tree session in the operator pattern causes Claude to handle cleanup automatically: if nothing has changed, the workspace is removed; if work exists, Claude asks what to do.Every Claude Code Workflow Explained (& When to Use Each)