What probably matters to youSection of the release
What
A worktree is a separate working copy of your git repository. When creating one is slow, Claude Code suggests checking out only some folders with the sparsePaths setting. The example in that tip is now {"worktree": {"sparsePaths": [".claude", "src", "packages/foo"]}}. Before, it did not include .claude.
Why
The .claude folder holds your project's Claude Code settings. A partial checkout that leaves it out would lose those settings in the worktree.
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeFixed the tip after a slow worktree creation suggesting a sparsePaths list without .claude, which left worktrees without your project…