Ad

Failed To Execute Git - VS Code?

- 1 answer

Why does my Visual Studio Code keep popping up this message?

I don't even use Git, and it started happening. Is it because I opened the Git panel?

Restarting does nothing, changing the settings/config doesn't help either. Super annoying and frustrated, please help.

enter image description here

Ad

Answer

I think VS Code assumes you already have Git installed from another mean,

  • Xcode
  • GitHub Desktop
  • Homebrew
  • Git

Thus, it directly attempts to locate Git and fails.

I will recommend you report this to VS Code project at GitHub, but installing Git is a quick workaround.

Ad
source: stackoverflow.com
Ad