GitLens Features
Features that supercharge Git in VS Code
Blame Annotations For Every Line
View Git Authorship Via CodeLens
Easily Navigate Revision History
With just a click of a button, you can navigate backwards and forwards through any file’s history. Compare changes over time and see the revision history of the whole file or every individual line of code. Customizable and unobtrusive Git blame annotations are still shown on every line, telling you the author, date, and message for the last commit!
New GitLens+ features include Worktrees and Visual File History. More coming soon, including the GitKraken commit graph! Learn about GitLens+
On-Demand File Annotations
See customizable file annotations in the editor’s status bar and in the gutter, the space beside the line number. Choose between:
- Blame – showing the commit and author for each line.
- Changes – highlighting any local, unpublished, changes or lines changed by the most recent commit.
- Heatmap – to show how recently lines were changed relative to all the other changes in the file.
Side Bar Views
GitLens adds many side bar views like Commits view, File History, Branches, Remotes, Stashes, Tags, Contributors, and the Search & Compare view, to provide additional rich functionality. The default layout of these views can be quickly customized to show all the views together on the Source Control side bar or on the GitLens side bar.
Git Repository Host Integrations
GitLens provides rich integrations with many remote providers, including GitHub, GitHub Enterprise, GitLab, Gitea, Gerrit, Bitbucket, Bitbucket Server, Azure DevOps and custom servers. Quickly gain insights from pull requests and issues without leaving your codebase.
All Git repository host integrations provide issue and pull request auto-linking, while advanced integrations (e.g. GitHub) provide more detailed hover information, plus the ability to associate pull requests with branches/commits, and avatars.