Fluid Bézier topology, deterministic 32-bit branch hashing, commit staging studio, and destructive two-stage safety guardrails.
Engineered with pixel-perfect attention to DAG mathematics, typography, and developer workflows.
The main branch serves as a solid unbroken spine. Feature branches curve gracefully outward and merge back with zero line tangles.
Uncommitted working tree changes appear as a glowing dashed WIP node above HEAD. Click it to stage files, view diffs, and commit with Conventional chips.
High-risk actions (Hard Reset, Force Push, Force Branch Delete) require a 2-stage verification modal with plain-English impact explanations.
Pull requests render as distinct purple hexagons and issues as green shields, providing instantaneous cognitive differentiation on the graph.
Live emerald ahead (↑N) and orange behind (↓M) badges appear directly on branch plaques, so you always know your sync status.
Right-click the canvas background to generate self-contained vector .svg or high-DPI .png repo maps with embedded styles and custom stroke widths.
Step-by-step installation instructions for every operating system and workflow.
BetterGitGraph requires VS Code 1.90.0 or newer.
Press Cmd+P (macOS) or Ctrl+P (Windows/Linux) and paste:
ext install Renoceros.bettergitgraph
Press Cmd+Ctrl+G (macOS) or Ctrl+Alt+G (Windows/Linux), or click the BetterGitGraph icon in the top right editor tab.
BetterGitGraph interfaces with your local Git binary directly so all your SSH keys and GPG signatures are preserved:
# macOS (Homebrew)
brew install git
# Windows (Winget)
winget install --id Git.Git -e --source winget
# Linux (Debian / Ubuntu)
sudo apt update && sudo apt install git
Set your global commit author name and email:
git config --global user.name "Your Name"
git config --global user.email "you@example.com"
Grab bettergitgraph-1.3.2.vsix from our GitHub Releases Page.
code --install-extension bettergitgraph-1.3.2.vsix
Ergonomic shortcuts designed for high-velocity Git workflows.
| Action | macOS Shortcut | Windows / Linux | Description |
|---|---|---|---|
| Open BetterGitGraph | Cmd + Ctrl + G | Ctrl + Alt + G | Opens or focuses the graph view |
| Pan Camera | Click + Drag | Click + Drag | Smooth canvas panning across history |
| Cursor Zoom | Wheel / Pinch | Wheel / Pinch | Zoom centered at cursor position |
| Center Active HEAD | Double Click | Double Click | Instantly centers on active branch tip |
| Fit to Screen | Click Fit | Click Fit | Auto-scales graph to fit all nodes |
| Inspect Commit Card | Left Click (Node) | Left Click (Node) | Opens details popup with files & diffs |
| Open Staging Studio | Left Click (WIP Node) | Left Click (WIP Node) | Slides out commit staging composer |
| Git Operations Menu | Right Click (Node) | Right Click (Node) | Context menu for Checkout, Branch, Revert, Reset, PR |
Everything you need to know about compatibility, security, and Git operations.
You only need VS Code (version 1.90.0 or newer) and the Git CLI installed on your machine. BetterGitGraph executes native Git commands locally through simple-git, preserving all your SSH keys and GPG signing identities.
gh) to create Pull Requests?
▼
No! BetterGitGraph parses your origin remote URL (GitHub, GitLab, Bitbucket, Azure DevOps) and generates direct web comparison URLs. Clicking "Raise PR / Create MR" opens your browser directly with base and head branches pre-filled.
Whenever uncommitted changes exist, an emerald dashed WIP node ($\bigodot$) is attached to HEAD. Clicking it opens the Commit Drawer to stage/unstage files, click diff links, use Conventional Commit chips (feat:, fix:), and commit or amend.
Destructive actions like Hard Reset, Force Push, and Force Delete Branch enforce a 2-stage verification modal with a red warning banner. You can toggle this in settings: bettergitgraph.twoStageConfirmation (default: true).
The central trunk defaults to 7px and feature branches to 3px to visually anchor the tree. Both are fully configurable in VS Code settings via bettergitgraph.mainTrunkStrokeWidth and bettergitgraph.branchStrokeWidth.
Zero telemetry. BetterGitGraph is 100% local-first and operates under a locked-down Content Security Policy with zero external network requests.