Repository navigation
v2.4.0: Git actions, stashes, staged changes and a native VS Code feel
Released 2026-12-03
New
- Stashes are listed in the sidebar (and in VS Code's Git Time Machine view). Opening one shows its changes against the commit it was made on; git-tm never applies or drops them.
- Staged and not staged: the uncommitted-changes row says "2 staged · 3 not staged", and opening it shows the two groups like
git status, with untracked files under Not staged. Time travel to the working tree still shows everything together. - Git actions in edit mode: Check out a commit or a branch at it, Create branch, Create tag and Cherry-pick onto the branch you're on. Like the history edits, each is previewed, backed up and undoable from the toast or Edits by git-tm. Checkout is refused while tracked files have changes.
- Commands on every commit (and Git commands… in the right-click menu): the same actions as
gitcommands to copy, so read-only mode stays read-only. In VS Code a command can also be typed into a terminal for the repository; it only runs when you press Enter. - JavaScript API:
INDEXfor staged comparisons (files("HEAD", INDEX),files(INDEX, WORKTREE)), andinfo()now returnsstashes,staged,unstagedanduntracked.
VS Code
- Open diff shows a changed file in VS Code's own diff editor (the working tree side is the real, editable file).
- A Git Time Machine icon of its own in the Source Control title bar and the Activity Bar, instead of VS Code's history icon.
- A redesigned sidebar: native buttons for History, Compare & Time Travel, Reflog, Insights and File History, plus Recent Commits and Stashes views. The Source Control panel gets a small collapsed launcher.
- Live updates: the view refreshes as soon as VS Code's Git reports a change, with slower polling only as a fallback.
- Tabs come back after VS Code restarts.
- Roomier layout in narrower editors: the branch panel slides out from the menu button below 1300 px, and the commit pane uses tighter type.
Fixes
- Branch and tag badges in Contained in and at the top of a commit wrap onto more lines instead of running off the edge.
- A commit's branch and tag badges no longer go stale after branches or tags change (the commit was cached together with them).
Notes
- Extension tests now run inside a real VS Code in CI, and
extension.cjsis also tested against a stand-in for VS Code innpm test.