You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
WorktreesArea: what it touches
ImprovementsKind: in v2.1.326,
ImprovementsSection of the release
What
A git worktree is a separate working copy of your repository. When you start Claude Code with --worktree in a terminal and setup takes a moment, it now prints a dim "Setting up worktree" line.
When Claude moves into a worktree, the result it gets back now includes a note about the sandbox, the restricted environment that limits what commands can touch. The error for running outside a git repository can also now show a different hint.
Why
Slow worktree setup at startup now shows progress instead of looking stuck.
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed sinceAnthropic's documentation has since written up --worktree, on Claude Code changelog.* Changed `--worktree` with a relative `--add-dir` beside the launch folder to give the Bash sandbox that folder, not one beside the worktreechangelogsee the edit
How sure we are
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up --worktree, on Claude Code changelog.
Anthropic's release notes agreeFixed claude --worktree showing nothing while a slow worktree is set up