GitLens is an open-source extension for Visual Studio Code created by Eric Amodio.

GitLens simply helps you better understand code. Quickly glimpse into whom, why, and when a line or code block was changed. Jump back through history to gain further insights as to how and why the code evolved. Effortlessly explore the history and evolution of a codebase. Dive right in and see how GitLens can help!

## Welcome to GitLens 10

See What's New in GitLens 10

GitLens, while powerful and feature rich, is also highly customizable to meet your needs. Do you find code lens intrusive or the current line blame annotation distracting — no problem, quickly turn them off or change how they behave using the options below.

## Quick Setup

For more options, use the interactive GitLens Settings editor

Current Line Blame

Adds an unobtrusive blame annotation at the end of the current line

Git Code Lens

Adds authorship code lens to the top of files and on code blocks

Status Bar Blame

Adds a Git blame annotation about the current line to the status bar

## Dates & Times

Allow relative date formatting
Shows some dates relatively, e.g. 1 day ago Shows dates absolutely, e.g.
Date format
Example date:
Short date format
Example short date:

## Views

GitLens views can be configured to be shown in different side bar layouts to best match your workflow. You can easily change the default layout (where all views are shown together on the GitLens side bar) below

Default Layout Source Control Layout Contextual Layout
Show Repositories in the
Show File History in the
Show Line History in the
Show Search Commits in the
Show Compare in the
#{endOfBody}