{"name":"worktree.sparsePaths","slug":"worktree-sparsepaths","family":"setting","title":"Settings keys","noun":"settings key","description":"Check out only the directories you need in each [worktree](https:\/\/code.claude.com\/docs\/en\/worktrees.md)","description_source":"docs","described_by":{"doc":"claude-code\/settings-reference","title":"All settings"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.314","builds":0,"mined_builds":154,"first_cited":null},"aliases":[],"entries":[{"version":"2.1.314","anchor":"git-worktree-add-now-builds-its-argument-list-consistently","heading":"Worktree creation keeps branch options together when sparse paths are set","line":"When creating a git worktree, Claude Code now puts the branch options and the sparse-checkout option into a single list","released_at":"2026-10-30 00:12:56","reason":"named in this entry, found in this entry's text"}],"entries_total":1,"docs":[{"source":"claude-code","path":"settings-reference","title":"All settings","documented":true},{"source":"claude-code","path":"settings","title":"Claude Code settings","documented":true},{"source":"claude-code","path":"claude-code-on-the-web","title":"Use Claude Code in the cloud","documented":false},{"source":"claude-code","path":"large-codebases","title":"Set up Claude Code in a monorepo or large codebase","documented":false}],"docs_total":4,"gates":[],"related":[{"name":"worktree","slug":"worktree","description":"Configure how Claude Code creates git [worktrees](https:\/\/code.claude.com\/docs\/en\/worktrees.md)"},{"name":"worktree.baseRef","slug":"worktree-baseref","description":"Branch new [worktrees](https:\/\/code.claude.com\/docs\/en\/worktrees.md) from the remote default branch or your local HEAD"},{"name":"worktreeBranch","slug":"worktreebranch","description":"Agent records keep their worktree history across saves, so lineage info no longer gets wiped."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/setting\/worktree-sparsepaths","family_url":"https:\/\/changelogs.core-directive.com\/reference\/setting.json"}