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

T3 Code guide

Review a turn's diff

Source control and worktrees

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

Each thread can work in its own worktree, and you can review its diff before committing. A turn's changed files and diff show only that turn's own work.

T3 Code docs: READMEsource control

What it’s for

Checking what an agent changed before you commit, push, or open a pull request, or reviewing a single local commit or a linked commit from a code host.

T3 Code docs: READMEsource control

When to use it

Use it to review the diff before you commit, push, and open a pull request.

T3 Code docs: README

How to use it

  1. In the web or desktop activity log, expand the tool-call summary and choose Open diff on a file change to review its contents.

    T3 Code docs: activity log

  2. A turn's changed files and diff show only that turn's own work. Files Git brought in through a pull, merge, or rebase are left out.

    T3 Code docs: source control

  3. To review everything that changed against your base branch, use the branch comparison.

    T3 Code docs: source control

  4. To review one local commit at a time, open the Diff pane source picker and choose Commits.

    T3 Code docs: source control

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