Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.281 ·

Worktree-refusal message explains the config.worktree file

The worktree refusal message now shows how to find the config.worktree file and warns sparse-checkout needs it

You'll notice Improvements
JSON All of v2.1.281
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
ImprovementsKind: in v2.1.281,
ImprovementsSection of the release
What

Claude Code can refuse to use a git worktree, which is an extra working folder attached to the same repository, when it has its own per-worktree config file. The refusal message now gives the command that shows where that file is: git rev-parse --git-path config.worktree. It also warns that sparse-checkout needs that file. Sparse-checkout is a git feature that fills a folder with only part of a repository.

Why

You can locate the file that caused the refusal. You are also warned before deleting it if you rely on sparse-checkout.

See this entry in the whole of v2.1.281 →

Feedback