Connect a source control account
Source control and worktrees
A worktree is a separate copy of your project's files so agents can work without clashing.
T3 Code integrates with GitHub, GitLab, Forgejo, Gitea, Bitbucket, Azure DevOps, GitCafe and Cursor Origin. Authentication is configured on the machine running the T3 Code server, and for GitHub T3 Code only needs a token.
T3 Code docs: source control
What it’s for
Letting T3 Code clone, publish, create pull requests and review changes on your code host.
T3 Code docs: source control
When to use it
When you first set up an environment, or when you see a Not authenticated error.
T3 Code docs: source control
How to use it
On the machine running the T3 Code server (the remote machine for a remote environment), install Git and configure authentication, for example with gh auth login or glab auth login.
T3 Code docs: source control
For GitHub without the CLI, save a token in Settings → Source control & issues → GitHub. It is kept in the server's secret store.
T3 Code docs: source control
After signing in, open Settings → Source control & issues and choose Rescan.
T3 Code docs: source control
If pushes still fail, check the Git remote's SSH or HTTPS credentials. These are set up separately from API access.
T3 Code docs: source control
What’s changed
- Adds Cursor Origin: clone, publish, and work with pull requests for repositories hosted there.Updated Nov 9
- Source control host tokens can be read from a secret provider.Updated Nov 4
- You can choose the GitHub account for each host and save a GitHub token. PR actions make fewer reads.Updated Oct 15
5 earlier changes
- Host settings now live on each host's definition, and GitCafe accepts a token.Updated Oct 10
- Choose the GitHub account per host and save a GitHub token; PR actions use fewer reads.Updated Oct 7
- Bitbucket credentials can be saved from Source Control settings.Updated Sep 29
- Added Forgejo and Gitea support through the fj and tea command-line tools.Updated Sep 16
- Forgejo and Gitea are now supported through the fj and tea tools.Updated Sep 13
Related settings
Unofficial notes. Not affiliated with Theo or t3.gg.