



Also ensure that Git is either in the PATH, or that '' is pointed to its installed location.Īssuming you have GitHub for Windows installed, the location of the executable is not automatically added to the path variable. In the event that git.exe is not part of your system path variable, which was my situation on a Windows 10 workstation, you will see this error: GitLens was unable to find Git. Quick Reminder: I live stream ever week on Tuesdays and Thursdays on Twitch! Drop a follow, enable notifications, and come join in the adventure. Once installed, a quick reload window inside of VSCode will get you started. To install Git Lens, simply navigate to the Extensions panel and search for “git lens” to find and install the extension or visit the Git Lens marketplace page. While it’s certainly possible to tease apart this information via the Source Control screen, it’s really handy to have it built directly into the file being edited.

Git Lens makes it easy to see commits, messages, and changes. I recently added the extension to my workstation to help with seeing blame, commit comparisons, and easily find the rationale behind a particular line or grouping of code. While this integration is fairly solid on its own, the addition of Git Lens, an extension available in the marketplace, really enhances the user experience. Those working with Visual Studio Code (VSCode) for their integrated development / scripting environments will likely notice the native Git integration that provides visibility and control over a local repository.
