Skip to content

Support multiple Git repositories within one project directory #39559

Closed as not planned

Description

@excessivecoding

Problem

A project can span several independent Git repositories under one parent directory. Opening that parent in T3 Code provides one conversation for cross-repository work, but the built-in Git features do not treat its child repositories as one workspace.

For example:

workspace/                 # opened as the T3 project; no .git
  frontend/.git/
  backend/.git/

The agent can work in both directories, subject to the provider's filesystem permissions, while T3's repository detection resolves a single repository from the project's or thread's working directory. It does not discover the child repositories. Git status, changed-file review, checkpoints/restore, and isolated worktrees therefore do not cover this layout as a multi-repository project.

This limitation was confirmed by source inspection, not a fresh UI reproduction.

Requested behavior

Support opening a directory containing multiple Git repositories as one T3 project, keeping one thread for work across those repositories.

  • Discover or explicitly register repositories within the project directory.
  • Show changes grouped by repository, with enough context to identify the repository and branch.
  • Run Git actions against the selected repository.
  • Define checkpoint/restore and isolated-worktree behavior across the participating repositories, and clearly communicate any unsupported operations.

The initial scope is repositories inside the selected project directory. Attaching arbitrary external directories is a separate feature.

Example workflow

  1. Open workspace/ containing the frontend and backend repositories.
  2. Start one thread and ask the agent to update an API and its frontend consumer.
  3. Review the changes in both repositories from that thread.
  4. Commit or publish each repository's changes with an explicit repository target.

Repository discovery and Git operations should run in the hosting environment so the same project works from web, desktop, and mobile clients over local or remote connections.

Current workaround

Add each child repository as a separate T3 project to use its Git features. Opening the parent preserves one cross-repository conversation but leaves those Git features limited.

Related work

This issue tracks the overall parent-directory workspace capability and links the narrower reports rather than treating them as separate implementations of the full feature.

Activity

  1. juliusmarminge commented on Nov 20, 2026

    @juliusmarminge
    Member

    Thanks for writing this up. It asks for new behaviour rather than reporting a defect, so it does not belong in the bug tracker and I'm closing it as not planned here. Feature ideas are discussed in Discussions: please post it there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions