4 pages for worktree.sparsepaths.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Use Claude Code in the cloud
Claude Code CLI · in the page
claude-code-on-the-web
…ettings isn't uploaded, and neither is one Claude Code created with [`worktree.sparsePaths`](https://code.claude.com/docs/en/settings-reference#worktree-sparsepaths). Start from the repository's main…
Set up Claude Code in a monorepo or large codebase
Claude Code CLI · in the page
large-codebases
…only the directories a task needs when Claude creates a worktree | [`worktree.sparsePaths`](#check-out-only-the-directories-you-need) | | Read and edit a sibling package or another repository from th…
Claude Code settings
Claude Code CLI · in the page
settings
…| `["node_modules", ".cache"]` | | `worktree.sparsePaths` | Directories to check out in each worktree via git sparse-checkout. Only the listed directories plus…
All settings
Claude Code CLI · in the page
settings-reference
…es on a remote machine | Agents, sessions, and worktrees | User | | [`worktree.sparsePaths`](#worktree-sparsepaths) | Check out only the directories you need in each [worktree](https://code.claude.com…