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.

Configure GitLens

Don't miss how easy it is to configure GitLens!

What's New in GitLens 8 🎉🎈

  • NEW Brand new welcome experience — you're looking at it
  • NEW Brand new WYSIWYG settings editor — GitLens is easier than ever to customize to suit your needs
  • NEW Adds a tree layout option to branches in the GitLens explorer — thanks to Yukai Huang (@Yukaii)!
  • IMPROVED Reworked settings — clearer, simpler settings
  • FIXED Previous settings will now be migrated properly — sorry everyone 😢

See the release notes for the full set of changes

GitLens is a free, open-source extension for Visual Studio Code created by Eric Amodio.

GitLens simply helps you understand code better. 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. Explore the history and evolution of a codebase. Dive right in and see how GitLens can help!

Here are just some of the features that GitLens provides,

  • a GitLens explorer to navigate and explore repositories or file histories
  • an on-demand GitLens Results view to explore commits, histories, and searches, or visualize comparisons between branches, tags, commits, and more
  • authorship code lens showing the most recent commit and # of authors to the top of files and/or on code blocks
  • an unobtrusive current line blame annotation at the end of the line
  • on-demand gutter blame annotations, including a heatmap, for the whole file
  • detailed blame information accessible via hovers
  • on-demand recent changes annotations to highlight lines changed by the most recent commit
  • a status bar blame annotation showing author and date for the current line
  • commit search — by message, author, filename, commit id, or code changes
  • many powerful commands for exploring commits and histories, comparing and navigating revisions, stash access, repository status, etc
  • and so much more

GitLens is powerful, feature rich, and highly customizable to meet your specific needs — find code lens intrusive or the current line blame annotation distracting — no problem, it is quick and easy to turn them off or change how they behave via the built-in GitLens Settings editor, a WYSIWYG editor covering many of GitLens' powerful settings. While for more advanced customizations, refer to the GitLens settings docs and edit your User Settings.

Show Your Support ❤

To my incredible backers — thank you so much for your contributions. I am truly humbled by your generosity and support. Please know that your support plays a important role in helping me realize GitLens' potential in making developer's lives easier.

If you'd like to join them in supporting GitLens, please consider the following — feel free to choose more than one. 😉

Customize

Learn