Open GitLensFree, local-only GitLens-style Git tooling for VS Code. Plain JS, no build step, uses the Commit Graph (
|
| Feature | How |
|---|---|
| Line blame, status bar blame, hovers (Changes / Copy SHA / Open on remote / Blame previous) | automatic |
| File blame (age-colored gutter) | Alt+B |
| Git CodeLens (latest author, author count) | Shift+Alt+B to toggle |
| Compare file with branch, tag or commit; between two revisions; open file at revision | right click > Open GitLens, or Cmd+Alt+G C |
| Revision navigation: previous / next / working file | Alt+, / Alt+., or the arrows in the diff title |
| File and line/range history | Cmd+Alt+G H |
Side bar views
Branches, Compare, Worktrees (create, open in new window, remove), Tags, Stashes, Contributors.
Not included (need a GitKraken account/cloud)
Launchpad, Cloud Patches, Code Suggest, and all AI features.
Install locally
ln -s "$PWD" ~/.vscode/extensions/devneonix.open-gitlens-0.2.1
Reload the window (Developer: Reload Window). Or open this folder in VS Code and press F5.
Avatars come from Gravatar/GitHub. Disable with openGitLens.graph.avatars: false.
Layout
src/git.jsgit CLI wrapper (novscodeimport, testable with plain node)src/gitGraph.jsgraph data: scopes, stashes, status, stats, search, worktreessrc/graphLayout.jspure lane-assignment algorithmsrc/graph.js+media/graph.{js,css}Commit Graph webviewsrc/views.jstree views,src/compare.jsCompare,src/revisions.jsrevision navigationsrc/extension.jsline blame,src/annotations.jsfile blame,src/history.jshistory/diffs,src/codelens.js,src/actions.js