I'm Using claude --worktree for Everything Now
YouTube · YouTube
- Worktrees allow Claude Code to operate on an isolated branch without polluting the working directory — the agent’s changes are contained and reviewable before merge.
- Positions worktrees as the default mode for any non-trivial agent task: the cost of setup is low, the cost of an unwanted change to main is high.
- Workflow pattern: agent works in worktree → human reviews diff → merge or discard. The review step is the control layer, not the prompt.