Supercharge Git inside VS Code and unlock untapped knowledge within each repository — Visualize code authorship at a glance via Git blame annotations and CodeLe
Supercharge Git inside VS Code and unlock untapped knowledge within each repository — Visualize code authorship at a glance via Git blame annotations and CodeLe
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.
GitLens: Show Commit Graph works too.) 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.
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
Esc backs out.message:, author:, file:, change:, or just describe what you're after.HEAD, upstream, or merge target. / finds any branch; the keyboard drives all of it.Who should I ask about this file? Where is all the churn? What has that agent actually been touching? A list of commits can't tell you.
Experimental — your repository as blocks sized by file and colored by type. Zoom into a folder to see what's actually in there.Experimental — the same map, colored by how much each area has been changing.Experimental — the same map, live: where your agents are reading and editing right now, cooling as they move on.Open these from the Commit Graph, or Visual History on its own with Show Visual History.
You stash to switch branches and lose your place. An agent is off working somewhere and you can't tell whether it's running, stuck, or waiting on you. Both get worse the more places your work lives.
A worktree is a second checkout of the same repository — a branch you can leave open without stashing a thing. GitLens takes over the bookkeeping around it.
Experimental — switch the Graph into a board view that groups agent sessions by what needs your attention first.Pull requests are where work goes to wait. GitLens brings the whole round trip into the editor: Start Work turns an issue into a branch or worktree, Launchpad tracks what comes back, and you review and land it without leaving the graph.
Reviews shouldn't mean bouncing between your editor, GitHub, and your inbox. Launchpad puts every pull request you're involved in on one list, ordered by what's actually blocking someone. Check one out, or start its review with a coding agent, without opening a tab. Learn more
Open pull requests live in the Graph's Pull Requests panel, most recently updated first, marked with the same signals as Launchpad — mergeable, blocked, needs review, follow-up. Select one and its details open in place.
Code that works isn't code that's merged. In between sit the commits nobody can follow, the message you have to write, the review round trip, and the afternoon the rebase ate. These shorten that stretch.
Rebasing replays your commits onto a newer starting point. Rearranging them is the easy half. The conflicts are the part you're actually afraid of, and the reason the branch sat there for a week.
The Interactive Rebase Editor lets you drag commits to reorder them, or mark them to be squashed together, reworded, or dropped. As you rearrange, it works out which commits are going to conflict and warns you before you run anything, then collects every conflicted file into one panel showing both sides.
Automatic Rebase does the whole thing for you. It runs the rebase, resolves each conflict with AI, and shows you what it decided and how sure it was — stopping to ask when it isn't confident. If you don't like where it ended up, a single undo puts your branch back exactly as it was.
Whatever you host on and track issues in, GitLens most likely speaks it — and pulls those pull requests and issues in beside your history.
Autolinking works across GitHub, GitLab, Jira, Gitea, Gerrit, Google Source, Bitbucket, Bitbucket Server, Azure DevOps, and custom servers. The self-managed editions, GitHub Enterprise and GitLab Self-Managed, need Pro. Rich integrations with GitHub, GitLab, and Jira add hover details for autolinks, correlations between pull requests, branches, and commits, and user avatars.
On an unusual domain? Add a custom remote to map it onto a built-in provider, or teach GitLens a service it doesn't know. You can define your own autolinks too, for references like Jira issues or Zendesk tickets.
Everything GitLens built its reputation on: free, unchanged, and on by default.
Not for you? Every annotation is cu
core: resolveRepository reports a GitHub repository hidden by OAuth App access restrictions as not-found
HELP WANTED: Add internationalization (i18n) support to GitLens
Document is not blameable - Inline blame not working in DevDrive
core-gitlens: add a single pull request read for Azure DevOps, Bitbucket Cloud and Bitbucket Server
Check git.replaceTagsWhenPull preference
Integrate Kepler into "Start" Workflows
Walkthrough's first step still illustrates the removed Home view
extension-GitKraken gets added to MCPs automatically in Cursor
Rebase pull request stacks with option for automatic rebasing
Unable to see PR information in the hover panel.