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!
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.
Install GitLens for Free in VS Code
Git Command Palette
This powerful tool provides guided, step-by-step access to many common Git commands, as well as quick access to commits (history and search), stashes, and status (current branch and working tree).
Interactive Rebase Editor
A user-friendly editor to easily configure an interactive rebase session. Simply drag & drop to reorder commits and select which ones you want to edit, squash, or drop.
Using ctrl+click on autolinks in the integrated terminal will quickly jump to more details for commits, branches, tags, and more.