Clone into host folders (ghq layout)
Source control and worktrees
A worktree is a separate copy of your project's files so agents can work without clashing.
Clone into host folders lays out new clones like ghq, under your add-project base directory, then host, owner, and repo. It is off by default.
T3 Code docs: source controlsettings.ts
What it’s for
Laying out clones like ghq, under host, owner, and repo folders in the add-project base directory.
T3 Code docs: source controlsettings.ts
How to use it
In Settings → Threads (or Source control on mobile), turn on Clone into host folders.
T3 Code docs: source control
Set Add project starts in to your base directory, such as ~/ghq to share ghq's folders. Clones then default to host / owner / repo under it.
T3 Code docs: source controlsettings.ts
Clone a repository with Add Project in the command palette (Cmd/Ctrl+K), changing the suggested destination before cloning if needed.
T3 Code docs: source control
Related settings
Unofficial notes. Not affiliated with Theo or t3.gg.