GitLens

Overview

With over 20 million installs, GitLens is the most popular Git extension for Visual Studio Code. It gives you valuable insights into code authorship and unlocks the full power of Git in VS Code.

Supercharge Git in VS Code

Focus

Maintaining focus is critical. Any extra time spent on context switching or missing context can disrupt your flow. That’s why we built GitLens – the ultimate tool for making Git work for you. With GitLens you can zero in on the most important changes and effortlessly track code authorship while minimizing context switching.

Inline Blame Annotations and CodeLens

Inline code annotations help you better understand how your code changed and by whom.

File Annotations

Toggle on-demand annotations for the whole file to see rich blame details, an overview of recent changes, and a heatmap of how recently lines were changed.

Revision Navigation

Effortlessly drill into the history of a file to see how the code evolved over time.

Status Bar Blame

See who changed the current line and when in an out-of-the-way place.

Git Command Palette

An easy-to-use guided way to access and run many common Git commands.

Rich Commit Search

Search and explore commit histories by message, author, files, and specific changes.
Inline Focus
Blame Annotations

Collaborate

Coding is a team sport. Collaborating early and often with rich relevant context is crucial for avoiding delays and delivering high quality code with little rework. GitLens gives you a crystal-clear view of your team’s work and progress so you can make better decisions as you work on code together.

Inline Blame Annotations and CodeLens

At a glance, see who made the most recent change to help you find who to collaborate with.

Contributors View

See each contributor and explore the details about their contributions.

Commit Graph ✨

View your team’s work in progress and understand how it’s all related via the visual graph of branches and commits. Learn about GitLens+ features.

Worktrees ✨

Avoid interrupting your work in progress when reviewing pull requests. Simply create a new worktree without impacting your other work in progress. Learn about GitLens+ features.

Git Host Integrations

Gain additional context from associated issues and pull requests to collaborate more effectively.

LiveShare Integration

Quickly see presence and connect to a teammate to start a real-time collaboration LiveShare session.

Team Connect
Contributions

Visualize

Don’t make changes in the dark. Let GitLens help illuminate the hidden knowledge within a repository and visualize the impact of Git actions allowing you to make safer, more informed choices.

Commit Graph ✨

Easily visualize and keep track of all work in progress. Seamlessly interact with Git directly through full-featured context menus. Learn about GitLens+ features.

Visual File History ✨

Quickly identify the most impactful changes to a file and by whom. Learn about GitLens+ features.  

Interactive Rebase Editor

Harness the power of interactive rebase without stressing over syntax or order. Easily drag and drop to reorder commits or configure commits to edit, squash, or drop.

Side Bar Views

A set of views for visualizing, exploring, and managing many aspects of a Git repository including Commits, File History, Branches, Remotes, Stashes, Tags, Contributors, and more.

Rich Comparisons

Visualize comparisons between branches, tags, commits, and more.

Commit Details

Quickly view information about the commit’s author, commit ID, links to associated issues and pull requests, changed files, and more.
Code Contributions
Commit Graph

Connect

Context switching kills productivity. GitLens not only reveals buried knowledge locked within your repository, it also pulls together additional context from issues and pull requests providing you with a wealth of information and insights at your fingertips.

Git Hosting Integrations

Enrich many aspects of GitLens with additional context from issues and pull requests without leaving your IDE.

Autolinks

Easily link to external references from your commit messages, like Jira issues or Zendesk tickets.

GitHub Enterprise & GitLab Self-Managed

Provide avatars for commit authors, richer details for auto-linked issues and pull requests, and see pull requests associated with commits and branches.

LiveShare Integration

Quickly see presence and connect to a teammate to start a real-time collaboration LiveShare session.

Single Sign On ✨

Simplify account & license management for your teams. Learn about GitLens+ features.

GitLens
Connections

Install GitLens for Free

With over 20 million installs, GitLens is one of the most popular VS Code extensions. Period. GitLens offers in-depth, contextual Git details, helping developers gain valuable insights and unlock powerful Git features.