Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

14
  • 32
    If you update your git-path in your user settings within visual studio code from null to "F:\\Program Files\\Git\\mingw64\\libexec\\git-core\\git.exe" (or something similar) you should simply have to restart VSCode and git will open successfully. My only addition is that if you do not use the git.exe within the directory mingw64\libexec\git-core\git.exe VSCode will open with various errors and bash terminals. Commented Feb 1, 2017 at 0:09
  • 1
    @Eric, Adding { "git-path":"d:\\Program Files\\Git\\bin\\gite.exe" } didn't work, vscode still search in c:\... Commented Feb 3, 2018 at 11:41
  • 6
    @Eric, but OK, git.path did the job: "git.path":"d:\\Program Files\\Git\\bin\\git.exe" ;-) Commented Feb 3, 2018 at 11:47
  • 4
    This worked for me, although I had to reboot my machine (windows 10) which I didn't think I need to. Anyway, whatever works. Commented Mar 8, 2019 at 10:50
  • 1
    git.path does not exist - where would this need to be added exactly? (OS: Windows 10 64-bit) Commented Apr 2, 2019 at 9:45