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

## Views

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

GitLens Layout (default)

Shows all the views together on the GitLens side bar

Source Control Layout

Shows all the views together on the Source Control 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:
#{endOfBody}