Git Weave
A VS Code extension that puts Source Control and a commit graph side by side: several repositories shown together,
branches, worktrees and stashes one click away. Plain JavaScript, no build step.

More screenshots on gitweave.lxtz.fr.
Features
- Nested repositories opened automatically, at least two folder levels deep (more with
git.repositoryScanMaxDepth), without changing any setting. Source Control lists them too.
- Git Weave in the activity bar, a webview:
- repository checkboxes, one on Repositories for them all: the checked repositories shown together;
- Changes, without a staging area: a checkbox per file, folder and repository; diff on click, discard;
other worktrees' changes under repository (worktree);
- commit box (Ctrl+Enter): the checked files committed with one message, one commit per repository or worktree;
- Merge Changes: the conflicts, marked as resolved once fixed;
- Local and Remote branches, Worktrees, Stashes, Tags, with their actions on hover and right-click; ↑ / ↓ on a
branch for the commits to push / pull, a lone ↑ when it was never pushed; the filter button of Local / Remote
turns the branch filter on: a checkbox per branch, folder, repository and section, as in Changes, the graph
drawing only the checked branches (none checked: none, all checked when turned on); off, every branch is drawn again;
- an orange "waiting to be merged" icon on the branches (and worktrees) not merged into the default branch (
origin/HEAD, else
main / master); a squash or rebase merge counts as not merged.
- Graph in an editor tab (the Git Weave status bar button toggles it):
- colored lanes, branch pills filled and tag pills outlined, the checked repositories merged by date;
- one or several commits selected (Ctrl / Shift+click): their files and foldable details on the right, a file's
diff opened beside the first editor group;
- refreshed on its own, with the sidebar: on every repository change, on refs changed on disk (a commit in another
worktree, a fetch in a terminal) and when the window gets the focus back.
- Window title (opt-in,
gitWeave.windowTitle.enabled): the workspace name for a .code-workspace, else the
git remote path.
Install
From the Extensions view: search Git Weave, or Install from VSIX… with a .vsix of the releases.
Logs
Output panel, channel Git Weave.
Development
- Run Extension (F5) opens a window with this checkout's extension.
scripts/demo-repo.sh: a demo workspace to test on (../../git-weave-demo: two repositories, branches, tags, a
stash, a worktree, changes in progress); scripts/demo-clear.sh deletes it.
docs/ is the showcase page, published by GitHub Pages; scripts/screenshots.sh takes its screenshots again.
License
MIT
| |