Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

After installing catalina visual studio code can't find git

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.

like image 791
JSerenson Avatar asked Oct 08 '19 18:10

JSerenson


People also ask

How do I get the VS Code to recognize Git?

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 find where Git is installed on my Mac?

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.

How do I know if Git is installed on my Mac?

Install Git on MacOpen the command prompt "terminal" and type git version to verify Git was installed.


1 Answers

Add $ xcode-select --install into your terminal and restart Visual Studio code.

This worked for me.

like image 109
Gianmarco G Avatar answered Nov 11 '22 09:11

Gianmarco G