Git blame, history and a commit graph inside VS Code, from GitKraken
source availableMIT AND GitLens Pro Licensefree
GitLens is GitKraken's Git extension for Visual Studio Code (eamodio.gitlens). It shows who changed each line and why with inline blame annotations and CodeLens, and brings a Commit Graph that puts branches, worktrees, stashes, pull requests and uncommitted work in one interactive view, where you can branch, merge, rebase, cherry-pick and push. It adds visual file and repository history, comparisons, search by message, author or file, and views of coding agents' sessions and worktrees. GitLens Community is free and open source; Pro features (some free on public repositories, the Commit Graph among them) need a GitKraken account and a paid plan for private repositories, and include issue tracker integrations, AI commit messages and code review. It's published on the VS Code Marketplace and Open VSX.
Problems it solves
- see who changed this line of code and why without leaving VS Code
- a visual git graph inside my editor
- keep track of the branches and worktrees my coding agents create
Features
- inline Git blame and CodeLens
- Commit Graph with branches, worktrees and pull requests
- visual file and repository history
- search commits by message, author or file
- coding agent session views
Limitations
Alternatives
The same job
These do what GitLens does.
- Git Blame See who last changed the current line, and when, in VS Code's status bar or inline
- GitKraken Desktop Free Git GUI + Terminal for Mac, Windows and Linux
- lazygit simple terminal UI for git commands
- PwrGit Git for people working alongside an agent
- Sourcetree Simplicity and power in a beautiful Git GUI
