Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.314 ·

Worktree creation reworked to handle several possible locations

Worktree placement now comes from an anchor, lookups check several folders, and git worktree add receives its branch arguments consistently

Group of 3 You'll notice Internal Changes
JSON All of v2.1.314
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
WorktreesArea: what it touches
Internal ChangesKind: in v2.1.314,
ImprovementsSection of the release

Unclear It is not clear what the anchor points to, so it is unknown whether worktree locations change for users.

What

A worktree is a second working copy of a git repository, in its own folder, that Claude Code can create so work happens apart from your main checkout. How worktrees are placed and created changed:

  • Where a worktree is allowed to live is now worked out from an anchor instead of a fixed path from the repository root. The 'Cannot create worktree:' error messages are unchanged.
  • Naming, clash detection, repairing leftover worktrees and removal now check several candidate folders, including the anchor's resolved path, instead of one. A leftover is reported as one "whose .git file points to another location".
  • When creating a worktree, the --no-track and branch arguments now go into the same argument list as the rest of the git worktree add command, which also gets --no-checkout when worktree.sparsePaths is set. Before, they were added to a different list.

Why

Worktrees may be found and placed differently when the repository's path can be reached in more than one way, and sparse worktrees (ones that check out only some paths) should now receive their branch arguments.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear what the anchor points to, so it is unknown whether worktree locations change for users.

See this entry in the whole of v2.1.314 →

Feedback