Home > Enterprise >  Git not found. Install it or configure it using the 'git.path' setting
Git not found. Install it or configure it using the 'git.path' setting

Time:11-03

Facing error as "Git not found" in VS Code in Mac OS Ventura.

How to resolve this error in VS Code in mac? Any Help appreciated :)

CodePudding user response:

You can install git using xcode-select --install to install the Apple version, or you can get the upstream one with brew install git. Check https://brew.sh or alternatively, https://git-scm.com/downloads.

CodePudding user response:

Just found this solution and this works :

I have also attached the solution screen recording : https://youtu.be/vFJCrzlPOow

GIT NOT FOUND ERROR IN VS CODE (Mac OS Ventura)

Step 1: Check if git is installed in your system by running the below command

   git -version

Step 2: Find the path where GIT is installed by running the below command

    which git

Step 3: Open Visual Studio Code, navigate VS code -> Preferences -> Settings -> Search "git path" in the settings search box -> "Edit in settings.json" (in the first option)

      "git.path", "paste_your_git_path_here"

(Hint: Follow Step 2 to find the path)

This helped solve the VS Code Git not found error!!

Thank You :)

  • Related