gitkraken /vscode-gitlens
Supercharge Git inside VS Code and unlock untapped knowledge within each repository — Visualize code authorship at a glance via Git blame annotations and CodeLens, seamlessly navigate and explore Git repositories, gain valuable insights via rich visualizations and powerful comparison commands, and so much more
★ 9,975⑂ 1,834👁 104⑃ 1,325● 4,099▤ 273
+2
日增长
9,975
stars
1,834
forks
104
watchers
1,325
prs
4,099
issues
273
releases
README
GitLens — Supercharge Git in VS Code
Understand any line of code, keep every branch, worktree, and coding agent in view, and ship cleaner history — without leaving VS Code.
GitLens is an open-source extension built and maintained by GitKraken, and installed more than 51 million times.
Your repository moves faster than it used to. Coding agents open branches, worktrees pile up, and pull requests stack while you're still reading a diff. GitLens pulls all of it into one interactive view — history, working changes, branches, worktrees, and live agent activity together — then helps you review it, rebase it, and shape it into commits someone can actually read.
Start your free 14-day Pro trial — no credit card required.
GitLens Community is free and open-source, forever — and several Pro features, the Commit Graph among them, are free on public repos.
Getting Started
1. Install it — search for GitLens in the Extensions side bar in VS Code.
2. Sign in — a free GitKraken account opens the Commit Graph on your public repos, and starts your trial if you want it everywhere.
3. Open the Commit Graph — click the GitLens icon in the activity bar, and there it is: your history, your working changes, and everything in flight. (GitLens: Show Commit Graph works too.)
4. Connect what you use — your Git host and issue tracker for pull requests, issues, and autolinks, then your coding agents for session tracking and the GitKraken MCP.
💡 Want new features first? Hit Switch to Pre-Release Version on the GitLens extension page in VS Code.
Preview features require a free GitKraken account and may become Pro features in the future. Experimental features are on by default but still changing.
See Everything in One Place — Commit Graph
Answering "what is actually going on in this repo right now" usually takes a view for branches, another for stashes, a terminal for status, and a browser tab for pull requests. The Commit Graph answers it in one place, and lets you act on the answer. Learn more
- Live state on every row — ahead/behind, unpushed, unpulled, change size, and lanes you can fold away.
- Your uncommitted work, in the history — a row per worktree. Stage, commit, stash, or send it to _Compose Commits_.
- Act from the row — branch, merge, rebase, cherry-pick, revert, stash, push, pull, open a pull request.
- Details in place — commits, branches, stashes, pull requests, comparisons. They stack as sheets; Esc backs out.
- The whole repo in the side bar — Overview, Agents, Pull Requests, Worktrees, Branches, Remotes, Stashes, Tags. Click one to scope the graph.
- Search that speaks Git — message:, author:, file:, change:, or just describe what you're after.
- Always know where you are — jump to HEAD, upstream, or merge target. / finds any branch; the keyboard drives all of it.
Zoom Out and Spot the Patterns — Visualizations
Top issues
#1172Interactive rebase editor UI is broken35 comments · 2020-11-18#577HELP WANTED: Add internationalization (i18n) support to GitLens33 comments · 2018-12-06#3319VS Code hangs with GitLens on Ubuntu 24.0429 comments · 2024-05-25#1291Commits and Branches View not updating with SSH remote repository24 comments · 2020-12-25#1964Support Git remote providers running behind a reverse proxy23 comments · 2022-04-13#439GitLens breaks Outline for Python22 comments · 2018-07-05#1143Blame is not working20 comments · 2020-11-07#965MSYS2 git causes Error: spawn C:/msys64/usr/bin/git.exe ENOENT due to path format 19 comments · 2020-02-21
Discussions
#5919add setting to disable revealPausedOperationInGraph0 comments · 2026-10-01#5768Make tooltip smaller or rendered outside0 comments · 2026-08-23#5765New permissions consent?0 comments · 2026-08-20#5731Too much ads and bloat?6 comments · 2026-08-13#5640kết hợp phiên bản ZsK ai với dự án thì sao0 comments · 2026-08-01#5594when using `Open All Changes` while scrolling the editor decides to cover itself with collapse things2 comments · 2026-07-28#5585Gutter markers do not match with my Commit comparrison to the Working Tree using the Diff Editor0 comments · 2026-07-28#5354Request: Add Chinese (Simplified) localization support0 comments · 2026-06-15
Latest release
v19.6.0 v19.6.0 2026-11-10Added - Adds review sessions to the _Commit Graph_'s _Review Changes_ mode — a review is now something you work through, with or without AI, rather than a one-off AI report - Adds a checklist of the changed files that tracks what you've viewed and brings back any file that changes afterward - Adds reading controls to the diff editor that step through the review's files not yet viewed (Alt+click steps in list order) - Adds comment threads in the diff for AI findings and your own comments — reply to them, dismiss them, or hand them to your agent - Adds _Orient_ beside _Revie