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

65 pages for worktree.

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

Tools reference Claude Code CLI · in the page tools-reference …tches to plan mode to design an approach before coding | No | | `EnterWorktree` | Creates an isolated [git worktree](/docs/en/worktrees.md) and switches into it. Pass a `path` to switch into an existi… Use Claude Code in VS Code Claude Code CLI · in the page vs-code …ull requests, or work across branches. To start Claude in an isolated worktree with its own files and branch, see [Run parallel sessions with worktrees](/docs/en/worktrees.md). ### Create commits and… Get started with Claude Code in the cloud Claude Code CLI · in the page web-quickstart …t once, each in its own session and branch, without managing multiple worktrees * **Repos you don't have locally**: Claude clones the repo fresh every session, so you don't need it checked out * **Tas… Week 15 · April 6–10, 2026 Claude Code CLI · in the page whats-new/2026-w15 …rval` setting re-runs the command every N seconds, and `workspace.git_worktree` in the JSON input`CLAUDE_CODE_PERFORCE_MODE`: Edit/Write fail on read-only files with a `p4 edit` hint instead of silent… Week 19 · May 4–8, 2026 Claude Code CLI · in the page whats-new/2026-w19 …, search command history across every project with Ctrl+R, branch new worktrees from local HEAD or the remote default, and block actions unconditionally with auto mode hard deny rules. Releases [v2.1… Week 21 · May 18–22, 2026 Claude Code CLI · in the page whats-new/2026-w21 …s, agents, skills, hooks, and MCP/LSP servers before installationNew `worktree.bgIsolation: "none"` setting lets background sessions edit the working copy directly without `EnterWorktree`, for repos w… Week 27 · June 29 – July 3, 2026 Claude Code CLI · in the page whats-new/2026-w27 …now commit, push, and open a draft PR when they finish code work in a worktree, instead of stopping to askHook matchers with hyphenated identifiers like `code-reviewer` now exact-match instead of subs… Week 28 · July 6–10, 2026 Claude Code CLI · in the page whats-new/2026-w28 …/login` now supports Anthropic-operated public gateway endpoints`EnterWorktree` asks for confirmation before entering a git worktree outside the project's `.claude/worktrees/` directoryBackground agen… Week 29 · July 13–17, 2026 Claude Code CLI · in the page whats-new/2026-w29 …sion rules save at the repository root, so approvals granted in a git worktree persist across sessions and worktreesAmazon Bedrock, Google Cloud's Agent Platform, and Claude Platform on AWS now defaul… Week 32 · August 3–7, 2026 Claude Code CLI · in the page whats-new/2026-w32 …t-view#copy-the-session-with-%2Ffork) now makes its code changes in a worktree of its own instead of the original session's checkoutPlugins you install from [`/plugin`](/docs/en/plugins/install#instal… Week 33 · August 10–14, 2026 Claude Code CLI · in the page whats-new/2026-w33 …ubgroups. On v2.1.233 or later, pass a GitLab merge request URL to `--worktree` to branch from it, and the `claude agents` view labels sessions linked to a merge request as `!N`. Claude Code also reda… What's new Claude Code CLI · in the page whats-new/index …its the full conversation; **GitLab** merge request URLs work with `--worktree` and the `claude agents` view, and marketplaces clone bare `gitlab.com` URLs; and typing **`@`** in the prompt mentions a… Changelog Claude Documentation · in the page cowork/changelog …nch, held until you send them. * Fixed removing an inactive session's worktree, from Settings or through Claude, also deleting an archived session's worktree nested inside it, including uncommitted ch… Configuration reference Claude Documentation · in the page third-party/claude-desktop/configuration …hooks, the terminal, commands in `sandbox.excludedCommands`, and git worktrees, which Claude Desktop and Claude Code still create inside the folder. > > > > If a read-only entry's `%VAR%` cannot be f… SSH remote sessions in Claude Desktop on 3P Claude Documentation · in the page third-party/claude-desktop/ssh-remote-sessions …change the folder, and Claude Desktop and Claude Code can create git worktrees inside it. ### Sandbox status on the remote host Claude Desktop asks Claude Code on the host whether the [sandbox](/do…
Feedback