Commit History Graph
A VSCode sidebar commit graph with ascending-by-default ordering — the earliest commit on top, newest at the bottom. Read your repo history like a book.

Why this fork
Built-in VSCode graph and Git Graph both default to newest-first ordering, which is great when you're tracking the latest changes — but it gets in the way when you want to read a project's history chronologically: studying an open-source codebase commit by commit, retracing how a feature was built up, or onboarding to an unfamiliar repo.
This fork ships an ascending-by-default view (oldest commit on top) plus a one-click toggle, so you can flip between "what changed recently" and "how did we get here" without leaving the sidebar. Everything else stays close to the native graph experience.
Features
- Ascending or descending sort, toggleable from the view title bar — earliest-first by default
- Multi-lane swimlane graph with branch curves
- Click a commit to inline-expand the detail panel (no extra tab)
- File tree / list toggle for the changed-files view
- Refs chips, stats, message filter, working-tree row
- Direct file-open for added / deleted files (no one-sided diff confusion)
- Merge commits show files via
diff-tree against the first parent
Install
VSCode
Search "Commit History Graph" in the Extensions view, or:
ext install semsevens.commit-history-graph
Cursor / VSCodium / OpenVSX-based editors
Same command (ext install semsevens.commit-history-graph) — these editors resolve against Open VSX, where this extension is also published.
From a .vsix (offline / pinned version)
- Download the desired
.vsix from the Releases page
- Command Palette →
Extensions: Install from VSIX... → pick the file
From source
git clone https://github.com/semsevens/commit-history-graph.git
cd commit-history-graph
npm install
npm run compile
npx vsce package
code --install-extension commit-history-graph-*.vsix
Usage
Open the Source Control view in the sidebar. The graph appears as Commit History Graph below the built-in changes panel.
- Toggle sort: click the swap-arrows icon in the view title bar
- Tree / list view: click the tree / list icon in the view title bar
- Refresh: click the refresh icon
- Filter: type in the search box at the top of the panel
Maintainer notes
Release process and known publishing landmines (Open VSX agreement, Microsoft Marketplace from China, etc.) are documented in docs/PUBLISHING.md.
License
MIT