Repository navigation
[Feature]: Adopt an existing local Git checkout as a T3 Code project #17985
Replies: 1 comment
TriageThis is a valid enhancement, not a duplicate of clone, relink-after-move, or worktree handoff. What already existsT3 Code can already attach a T3 project record to a directory that is already on disk. It does not require
Dedup today is path-scoped (same environment + same normalized What is still missingThe report is still right that there is no git-aware adopt step:
This is different from #4940 (relink after a folder moved), #2357 (rename), and #3753 / #3754 (handoff into a new worktree). Recommended directionKeep this issue open. Extend the existing Local folder flow rather than adding a parallel product:
Workaround until then: Add project → Local folder, or on desktop |
Uh oh!
There was an error while loading. Please reload this page.
Problem
T3 Code is oriented around creating projects by cloning or creating new
worktrees. There is no clear way to open an already-existing local checkout
and adopt it as a T3 Code project.
This affects:
Without an adoption flow, users may create duplicate clones or project records,
making it easy to work in the wrong checkout. T3 Code should be able to attach
to the checkout that already exists.
Proposed solution
Add an Open existing checkout / Adopt existing project option alongside
the current clone/new-project flow.
The user should be able to:
worktree.
The selected checkout should be allowed to contain uncommitted changes.
If the path or repository is already registered, T3 Code should focus or reuse
the existing project instead of creating a duplicate.
Removing the T3 Code project should remove only T3 Code's project record; it
must not delete or modify the checkout.
Expected behavior
An existing checkout should become usable in T3 Code without requiring:
git clone;git worktree add;This is different from cloning a repository from a URL and different from
relinking a project after its directory has moved.
Related issues
All reactions