Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions app/docs/interact/web-ui/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ project folder's `⋯` menu and choose `Project settings`, then set any of:
- **Default agent** for the session.
- **Random worktree**, which branches each new session into its own fresh git
worktree.
- **Base branch** the worktree forks from. This field appears only when
**Random worktree** is on (it's the branch the fresh worktree is cut from).
Leave it blank to fall through to your user-global **Default base branch**
(**Settings › Git**); a value set here takes precedence over that global
default.

New sessions started in that project pre-fill the composer from these defaults.
Nothing is locked in: every field is still editable before you send, any default
Expand All @@ -90,6 +95,11 @@ To avoid retyping the same base, set a **Default base branch** under
**Settings › Git**. The composer then auto-fills that value whenever you name a
new worktree branch; leave the setting blank to turn auto-fill off.

A project can override this per-project: the **Base branch** in
[Project settings](#project-settings-and-defaults) wins over the global default,
so the composer auto-fills the project's base branch when set and falls back to
the global default (then to blank) when it isn't.

![Setting a default base branch for worktrees](/images/docs/git_worktree_setting.gif)

### Choose the launch model
Expand Down