Follow Discord
Sweep 12 Nov 2026 · 23:00Z Build v2.1.323 540 read Stable v2.1.311 Latest v2.1.323 Next v2.1.323 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.323 ·

Worktrees are refused when git could write outside the repository through a link

Claude Code now refuses to create a worktree, and keeps the old base on resume, when the git folder holds links or hard-linked entries

You'll notice Improvements
JSON All of v2.1.323
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
WorktreesArea: what it touches
ImprovementsKind: in v2.1.323,
ImprovementsSection of the release
What

A worktree is a separate working folder of a git repository. Claude Code now checks the repository's git folder before making one. If git could write outside the repository through any of these, Claude Code refuses to create the worktree:

  • a link to somewhere else
  • a symbolic ref, which is a git pointer to another name
  • a hard-linked entry, a file shared with another location

When resuming a worktree in that state, Claude Code keeps the old base instead of updating it. The error message tells you to use a plain clone. The check sits behind a server-side switch that is on unless it is switched off remotely.

Why

Worktrees made with git-new-workdir or by copying a repository with hard links stop working. Cloning the repository normally fixes it.

See this entry in the whole of v2.1.323 →

Feedback