Theo-brainUnofficial. Not affiliated with Theo or t3.gg.
Sign inYou

T3 Code guide

Worktree location

Source control and worktrees

A worktree is a separate copy of your project's files so agents can work without clashing.

New worktrees go in the worktrees folder of the T3 home directory by default. You can set a different absolute path for each machine.

T3 Code docs: project settings

What it’s for

Keeping worktrees on another drive or in a folder you prefer.

T3 Code docs: project settings

When to use it

When the T3 home drive is short on space or you want worktrees somewhere else.

T3 Code docs: project settings

How to use it

  1. Set Settings → Worktrees → Worktree location to an absolute path such as D:\worktrees or ~/worktrees.

    T3 Code docs: project settings

  2. Existing worktrees stay where they are. Cleanup covers both the default folder and the custom one.

    T3 Code docs: project settings

What’s changed

Related settings

Unofficial notes. Not affiliated with Theo or t3.gg.