Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

10 pages for enterworktree.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Agent SDK reference - TypeScript Claude Code CLI · in the page agent-sdk/typescript …nput | CronDeleteInput | CronListInput | EnterPlanModeInput | EnterWorktreeInput | ExitPlanModeInput | ExitWorktreeInput | FileEditInput | FileReadInput | FileWriteInput | GlobInpu… Explore the .claude directory Claude Code CLI · in the page claude-directory …Read when Claude creates a git worktree via <C>--worktree</C>, the <C>EnterWorktree</C> tool, or subagent <C>isolation: worktree</C></>, description: <>Lists gitignored files to copy from your… Hooks reference Claude Code CLI · in the page hooks …e creates a worktree during a session and switches into it with the [`EnterWorktree`](/docs/en/tools-reference) tool * A [subagent uses `isolation: "worktree"`](/docs/en/sub-agents#choose-the-subagent… Claude Code settings Claude Code CLI · in the page settings …tree's `HEAD`, not the main checkout's. Applies to `--worktree`, the `EnterWorktree` tool, and subagent isolation | `"head"`… Create custom subagents Claude Code CLI · in the page sub-agents …kEdit`, `WebFetch`, `WebSearch`, `TodoWrite`, `Skill`, `ToolSearch`, `EnterWorktree`, `ExitWorktree`, `Monitor`, `TaskStop`, `SendMessage`, and `Artifact`, plus [`SubagentHandback`](/docs/en/tools-ref… Tools reference Claude Code CLI · in the page tools-reference …| Switches to plan mode to design an approach before coding | No | | `EnterWorktree` | Creates an isolated [git worktree](/docs/en/worktrees) and switches into it. Pass a `path` to switch into an exis… Week 19 · May 4–8, 2026 Claude Code CLI · in the page whats-new/2026-w19 …seRef` setting (`fresh` | `head`) controls whether `--worktree`, the `EnterWorktree` tool, and agent-isolation worktrees branch from the remote default branch or local `HEAD`; the default `fresh` keep… Week 21 · May 18–22, 2026 Claude Code CLI · in the page whats-new/2026-w21 …ting lets background sessions edit the working copy directly without `EnterWorktree`, for repos where worktrees are impracticalMarkdown output renders GFM task list checkboxes, and the `/diff` detail… Week 28 · July 6–10, 2026 Claude Code CLI · in the page whats-new/2026-w28 …ay: `/login` now supports Anthropic-operated public gateway endpoints`EnterWorktree` asks for confirmation before entering a git worktree outside the project's `.claude/worktrees/` directoryBackground… Run parallel sessions with worktrees Claude Code CLI · in the page worktrees …"work in a worktree" during a session, and it creates one with the [`EnterWorktree`](/docs/en/tools-reference) tool. Once in a worktree, Claude can switch directly to another one under `.claude/workt…
Feedback