- TypeScript 100%
| src | ||
| .gitignore | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
Multi-Repo Manager
Manage many Git repositories from one place in VS Code's Source Control sidebar.
Features
Multi-Repo Manager view
- One row per repo with branch, changed-file count, and ahead/behind counts. Changed repos are listed first.
- Expand a repo to see its files, open diffs, and stage, unstage, or discard them.
- Stage conflicted files to mark them resolved and continue a merge (asks first if conflict markers remain).
- Per-repo actions: commit, stage/unstage all, push (works on multiple selected repos and publishes branches with no upstream), open a terminal, copy the relative or full path, and open in Git Graph if installed.
- Copy the paths of all visible repos at once.
Multi-Repo Recent Commits view
- The latest commits across all repos, newest first, 10 at a time.
- Expand a commit to see its files and diffs, or open all its changes at once.
- Copy a commit hash or open its repo in Git Graph.
Filters
- Show only changed repos.
- Show only repos on selected branches (applies to both views).
- Show only commits by selected authors, including a Me shortcut.
Filters are saved per workspace in VS Code's storage, not in settings files.
How it works
The extension reads repositories from VS Code's built-in Git extension, which must stay enabled. It reuses that extension's state and events, so it adds no polling, file watching, or fetching. Ahead/behind counts reflect the last fetch.
Commit history is only loaded while the Recent Commits view is visible and is cached until a repo's HEAD changes or you refresh.
Pairs well with Git Graph
Git Graph is optional but recommended. When it's installed, repos and commits get a button that opens Git Graph straight on that repo, so you can jump from the overview to the full history and branch graph.
Settings
| Setting | Default | Description |
|---|---|---|
multiRepo.includeNestedRepositories |
false |
Show submodules and repos nested inside other repos. Workspace roots and their direct child repos are always shown. |
Install
npm install
npm run package
code --install-extension ./dist/multi-repo-manager-<version>.vsix
Then open Source Control (Ctrl+Shift+G) and expand Multi-Repo Manager.
Development
npm run build # compile src/ into out/
npm run watch # recompile on change
npm test # typecheck
npm run package # build a VSIX into dist/
License
MIT