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 11

See What's New in GitLens 11

GitLens is powerful, feature rich, and 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

## Views

GitLens views can be configured to be shown in different side bar layouts to best match your workflow

Source Control Layout (default)

Shows all the views together on the Source Control side bar

GitLens Layout

Shows all the views together on the GitLens side bar

You can also simply drag & drop individual views to create custom layouts

## 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:
Time format
Example date:
#{endOfBody}