Repo Manager by SachilaCheck out a common branch, review changes, and commit or push across selected Git repositories in your current VS Code window. Preview locally
For an isolated preview with three disposable repositories, run You can also run How it worksThe extension discovers repositories through VS Code’s built-in Git integration. For each selected repository, an existing local branch uses All selected repositories are validated before changes begin. Invalid names, branch path conflicts, unresolved conflicts, in-progress Git operations, and repositories without commits block the operation. Stash and re-apply is enabled by default. Tracked and untracked changes are stashed, then restored on the target branch with staged state preserved. Ignored files remain in place. Only the exact stash created by the operation is removed after successful restoration; existing stashes are preserved. If you disable this checkbox, you must confirm permanent removal of staged and unstaged tracked changes in the listed repositories. This includes newly staged files. Untracked and ignored files are preserved. Repositories are processed sequentially. On failure, processing stops and remaining repositories are skipped. Successful repositories stay on their target branches. If checkout fails, the extension attempts to restore changes on the original branch. If stash application conflicts, the stash is retained and recovery details appear in the editor page. Inspect and resolve the repository before applying or dropping the recovery stash; do not blindly re-apply a partially applied stash. Commit and/or pushThe sidebar contains navigation only; both workflows open reusable main editor tabs. Expand a repository to view changed files grouped into expandable folders and click a filename to compare Original (HEAD) and Current (working tree) side by side inside the same page. The comparison opens on the right, with aligned lines and highlighted additions and deletions; at narrow widths it appears below the controls. It is read-only, and closing it preserves selections and the commit message. Refresh or repository changes clear outdated comparisons. Binary files display an inline explanation instead of a text comparison. Selections start empty and persist when switching tabs. Use repository or folder checkboxes to select all eligible changed files beneath them, or select individual files. Parent checkboxes show a partial selection when only some files are selected. Unsupported files stay visible but cannot be selected. Select whole files, enter a shared commit message, then choose Commit or Commit & Push. Each selected repository receives its own commit with that message. Selected files include all current edits, even when partially staged; unselected staged and unstaged changes are preserved using a temporary Git index. Git hooks run normally and their changes are not discarded. Inspect results if hooks fail or alter the commit. Conflicts and submodule changes cannot be selected. Push only targets repositories with at least one selected file, without requiring a message. It pushes existing commits rather than committing the selected edits. Push actions require a named branch with an existing upstream; configure one using Git or VS Code first. They never force push, pull, or create an upstream. Commit & Push checks upstreams before any commits begin. Repositories run sequentially and stop on the first failure. A successful commit remains local if pushing fails. All targets are validated before work starts. If repository contents, staging, or branches change after review, refresh and review the selection again. Avoid concurrent Git operations while running a workflow. Network and authentication failures are reported; commands have a two-minute timeout. Configure authentication outside this page. development-pullOpen Checkout to branch from Repo Manager navigation. The page lists every discovered repository in the current VS Code workspace, including clean repositories. Select repositories and click Checkout to development & Pull. Stash and re-apply is checked by default and preserves tracked and untracked edits, including staged state. After fetching Unchecking stash requires confirmation before discarding staged and unstaged tracked edits. Untracked and ignored files are preserved and may block checkout if they collide with development files. All selected repositories are validated and fetched before any working files change. Missing remotes/branches, conflicts, active Git operations, or development checked out in another worktree block the batch. Fetch can update remote-tracking refs even if the batch stops. Repositories then run sequentially and stop on the first failure. Successful updates remain in place. Restoration conflicts retain the recovery stash; review the reported branch and stash before attempting recovery. Network commands use a two-minute timeout and require authentication configured outside the tab. Requirements and limitations
Development
See PREVIEW.md for the preview checklist and PUBLISHING.md for release steps in the source project. MIT license. Both pages include a case-insensitive repository-name search. Search only filters the visible list; selected repositories and files remain selected, and Select all still applies to the full list. Each page remembers its search when switching tabs. Pull development on Checkout to branch merges the fetched CommandsOpen Commands from Repo Manager navigation (or Repo Manager: Commands in the Command Palette). Expand a repository to see scripts from its root When a repository has In Commands, use a repository checkbox to select or clear all its scripts; a partial check indicates some scripts are selected. Search by repository or script name. Clear deselects every command, including commands hidden by the current search. Mark a command with ☆ to add it to the flat Favorites list above repositories. Favorites show their repository label and use the same selection as their repository entry, so you can run favorites together with other commands without duplicates. Favorites are saved for this workspace; Clear clears selections while keeping favorites. Commit and/or push lists repositories with changes first, followed by selectable repositories labeled No local changes. Clean repositories skip the commit step; Commit & Push and Push only can still push their existing commits. Discard changes discards selected staged/unstaged edits and deletes selected untracked files after confirmation, preserving unselected files. |