Follow Discord
Sweep 25 Sep 2026 · 19:33Z Build v2.1.283 504 read Stable v2.1.274 Latest v2.1.283 Next v2.1.283 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

Entry
JSON All of v2.1.281
EntryKind: in v2.1.281,
ChangesSection 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