Search the documentation
4 pages for sparsepaths.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Claude Code changelog
Claude Code CLI · in the page
changelog
…t/config` (breaking go-git tools like `tea`) after the last `worktree.sparsePaths` worktree was removed * Fixed malformed bracket patterns in rules globs, skill paths, `.ignore`, and `.worktreeinclu…
Set up Claude Code in a monorepo or large codebase
Claude Code CLI · in the page
large-codebases
…when Claude creates a worktree | [`worktree.sparsePaths`](#check-out-only-the-directories-you-need) | | Read and edit a sibling package or another rep…
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 root-lev…
Claude Code settings reference
Claude Code CLI · in the page
settings-reference
…, sessions, and worktrees | Any file | | [`worktree.sparsePaths`](#worktree-sparsepaths) | Check out only the directories you need in…