GitLens Features
Features that supercharge Git in VS Code
Blame Annotations For Every Line
✨ Commit Graph - Now out of preview!
We’re delighted to announce that the Commit Graph is out of Preview, and is full featured! This means you may now interact with the Commit Graph directly and take actions like:
- Interact with branches, commits, tags and more with right-click context menus
- Double click a branch to checkout a branch
- Rich search and filters for commits
- Get information about Pull Requests
Commit Details View
Get contextual change info about your code.
The Commit Details View updates as you move your cursor throughout the file with information about the commit that modified that line of code. Get quick information about the commit author, commit ID, links to Pull Requests, files modified in the commit, and more.
Learn about GitLens Pro
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!
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.
Install GitLens for Free in VS Code
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.