{"name":"baseRef","slug":"baseref","family":"setting","title":"Settings keys","noun":"settings key","description":"Under `worktree`. Chooses the base for a newly created worktree when the caller does not pass its own choice and no PR number is given: `head` branches from the current `git rev-parse HEAD`, and `fresh` (the default) branches from `origin\/<default-branch>`. With `head`, an existing worktree is reused as is instead of being refreshed. It can also be changed from a settings picker, which writes it to user settings.","description_source":"code","described_by":{"bundle":"2.1.283","author":"claude-opus-5-5"},"presence":{"first_seen":"2.1.138","removed_in":"2.1.284","in_current_build":false,"newest_mined":"2.1.308","builds":126,"mined_builds":149,"first_cited":null},"aliases":[],"entries":[],"entries_total":0,"docs":[{"source":"claude-code","path":"settings","title":"Claude Code settings","documented":false},{"source":"claude-code","path":"settings-reference","title":"All settings","documented":false},{"source":"claude-code","path":"whats-new\/2026-w19","title":"Week 19 \u00b7 May 4\u20138, 2026","documented":false},{"source":"claude-code","path":"whats-new\/index","title":"What's new","documented":false},{"source":"claude-code","path":"worktrees","title":"Run parallel sessions with worktrees","documented":false}],"docs_total":5,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/setting\/baseref","family_url":"https:\/\/changelogs.core-directive.com\/reference\/setting.json"}