Microsoft/vscode

Multiple Repos with git worktrees in worspace

Open

#257.396 geöffnet am 23. Juli 2025

Auf GitHub ansehen
 (14 Kommentare) (0 Reaktionen) (1 zugewiesene Person)TypeScript (10.221 Forks)batch import
bughelp wantedscm

Repository-Metriken

Stars
 (74.848 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 11h 43m) (1.000 gemergte PRs in 30 T)

Beschreibung

Hi,

I have searched now for a while but not found anything related to the issue I have. As I am working on multiple repositories with multiple branches I create my own workspace. In the workspace there are always the repositories mapped using worktree structures. An example:

Repo A .git -> story -> this_is_user_story_a -> this_is_user_story_b

Repo B -> story -> this_is_user_story_a -> this_is_user_story_b

Then I have two workspaces that are created like:

{
  "folders": [
    {
      "name": "Repo A",
      "path": "path/to/this_is_user_story_a"
    },
    {
      "name": "Repo B",
      "path": "path/to/this_is_user_story_a"
    }
}

The issue now is that in VS-Code View it does not show me the repository names but there I see twice:

this_is_user_story_a this_is_user_story_a

Is there any setting to tell the source view the correct name for the repo or a possibility to add such a feature?

Contributor Guide