GitLens supercharges the Git capabilities built into Visual Studio Code. It helps you to visualize code authorship at a glance via Git blame annotations and code lens, seamlessly navigate and explore Git repositories, gain valuable insights via powerful comparison commands, and so much more.

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!

Sponsor GitLens ❤

While GitLens is generously offered to everyone free of charge, if you find it useful, please consider sponsoring it.

Welcome to 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

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

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

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

Dates & Times

Example date:
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

#{endOfBody}