{"version":"2.1.133","anchor":"worktree-base-ref-setting","canonical_anchor":"worktree-base-ref-setting","heading":"Worktree Base Ref Setting","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.133\/e\/worktree-base-ref-setting","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.133","markdown":"### Worktree Base Ref Setting\n\n**What**\n\nYou can now choose whether new worktrees start from a clean remote default branch or from your current local HEAD.\n\n**Usage**\n\n`{ \"worktree\": { \"baseRef\": \"head\" } }` **Details** - `fresh` remains the default and branches from `origin\/<default-branch>`. - `head` branches from the current local HEAD, so unpushed commits and feature-branch state are present. - The setting applies to `--worktree`, `EnterWorktree`, and agent isolation. - The setting is also exposed in the config UI as \u201cWorktree base ref\u201d. **Evidence** Worktree setting schema and UI were added (search for `\"Which ref new worktrees branch from\"` and `\"Worktree base ref\"`)."}