Gitlens no longer can find git. I have installed the latest version of git 2.23.0 I have searched the internet but can't find a solution.
To enable Git in VS Code on Windows: Go to File > Preferences. Go to Settings. Type Git: Enabled in the search bar.
How do I know if Git is installed? To see if Git is installed on your system, open your terminal and type git --version . If your terminal returns a Git version as an output, that confirms you have Git installed on your system. If not, you have to download Git for Mac or Windows.
Install Git on MacOpen the command prompt "terminal" and type git version to verify Git was installed.
Add $ xcode-select --install
into your terminal and restart Visual Studio code.
This worked for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With