GitSpectra supports VS Code workspaces containing multiple Git repositories. When you switch between files in different repos, GitSpectra automatically updates the Conflict Radar and Activity Feed to show the relevant context.
Screenshot
VS Code with multiple repos in workspace showing GitSpectra panels updating based on active file
When you open a file:
Screenshot
Animation or screenshot series showing panels updating when switching between files in different repos
GitSpectra walks up the directory tree to find the nearest .git folder:
~/Projects/
├── frontend/ ← Git repo
│ ├── .git/
│ ├── src/
│ │ └── App.tsx ← Opens this → shows frontend conflicts
│ └── .gitspectra.json
├── backend/ ← Git repo
│ ├── .git/
│ ├── api/
│ │ └── users.ts ← Opens this → shows backend conflicts
│ └── .gitspectra.json
└── shared/ ← Git repo
└── .git/Open a folder containing multiple repos:
code ~/Projects/
GitSpectra will detect repos as you open files within them.
Create a .code-workspace file:
{
"folders": [
{ "path": "frontend" },
{ "path": "backend" },
{ "path": "shared" }
],
"settings": {}
}Each repository can have its own .gitspectra.json:
frontend/.gitspectra.json
{
"scope": {
"branches": ["origin/main"],
"timeWindow": "14d"
},
"team": {
"members": [/* frontend team */]
}
}backend/.gitspectra.json
{
"scope": {
"branches": ["origin/main", "origin/develop"],
"timeWindow": "7d"
},
"team": {
"members": [/* backend team */]
}
}Settings are scoped to each repository.
Screenshot
Conflict Radar panel showing current repository indicator
Screenshot
Activity Feed panel showing repository context
The status bar shows conflict count for the current file's repository:
Screenshot
Status bar showing 'GitSpectra: 2 ⚠️ (frontend)'
Commands operate on the repository of the currently active file:
| Command | Scope |
|---|---|
| GitSpectra: Check Now | Current repo only |
| GitSpectra: Dismiss All | Current repo only |
| GitSpectra: Show Panel | Opens panel for current repo |
When viewing diffs from the Activity Feed:
~/Projects/
├── project-alpha/
│ ├── frontend/
│ ├── backend/
│ └── shared/
└── project-beta/
├── app/
└── api/Open at the project level for related repos.
If repos share a team, consider:
.gitspectra.jsonWith many repos:
If panels show the wrong repository:
GitSpectra: Check Now to force updateIf panels don't update when switching:
GitSpectra: Check Now