feat(settings): choose how new worktrees initialize submodules (#12955)

Co-authored-by: Claude Fable 5 <[email protected]>
This commit is contained in:
Julius MarmingeandClaude Fable 5 authored and GitHub committed 2026-09-21 18:15:07 -07:00
1 parent 742173a132
commit 0141bc2bf5
18 files changed
+331 -55

No files matched your search

+5 -2
View File
@@ -55,8 +55,11 @@ built-in default. Leave a setting on **Inherit** to let the next tier decide.
Browser access changes apply when an agent session next starts.
New worktrees initialize git submodules recursively. If that step is slow because the repository
declares many nested submodules, set `"worktreeSubmodules"` in `t3.json` to `"top-level"` to stop
at the ones the repository declares itself, or `"none"` to leave them for a setup script.
declares many nested submodules, set **Submodules** in **Settings → General** (with the project
selected to override it there) to **Top level only** to stop at the ones the repository declares
itself, or **Skip** to leave them for a setup script. It resolves in the same order as the
workspace default: a `"worktreeSubmodules"` value in the `t3.json` of the branch being checked out
applies when the project and environment are both on **Inherit**.
## Storage cleanup