5 pages for worktree.baseref.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Claude Code settings
Claude Code CLI · in the page
settings
…------------------------ | :------------------------------------ | | `worktree.baseRef` | Which ref new worktrees branch from. `"fresh"` (default) branches from `origin/<default-branch>` fo…
All settings
Claude Code CLI · in the page
settings-reference
…docs/en/worktrees) | Agents, sessions, and worktrees | Any file | | [`worktree.baseRef`](#worktree-baseref) | Branch new [worktrees](/docs/en/worktrees) from the remote default branch or your local HE…
Week 19 · May 4–8, 2026
Claude Code CLI · in the page
whats-new/2026-w19
…history](/docs/en/interactive-mode#command-history) Other wins New `worktree.baseRef` setting (`fresh` | `head`) controls whether `--worktree`, the `EnterWorktree` tool, and agent-isolation worktree…
What's new
Claude Code CLI · in the page
whats-new/index
…fetches a plugin archive for the current session. Also this week: **`worktree.baseRef`** chooses whether new worktrees branch from the remote default or local `HEAD`; **auto mode hard deny rules** bl…
Run parallel sessions with worktrees
Claude Code CLI · in the page
worktrees
…rktree`, so they branch from your repository's default branch unless `worktree.baseRef` is set to `"head"`. A subagent in its own worktree takes the instruction files it [starts with](/docs/en/sub-ag…