Closed jay121169 closed 6 years ago
Looking for git in: C:\Program Files\Git\cmd\git.exe Looking for git in: C:\Program Files (x86)\Git\cmd\git.exe Looking for git in: C:\Program Files\Git\cmd\git.exe Git installation not found.
I install Git in E:\
If Git is in your path and still can't be found, you can try setting the git.path
preference in your settings.
Cannot find it too. I installed Git in D:\
Please configure Code with the git.path
setting, and point it to where you've installed Git.
"Please configure Code with the git.path"? how is this done?
Git runs perfectly with all other tools (that check the path)...
If you navigate to settings (either from the Command Palette or File --> Preferences --> Settings), there is an option git.path
that you can set to the path of the git executable.
However rather than doing what it does now (which seems like looking for hardcoded paths) VS Code should really be checking the path for git. With VS Code having such great git support it's a shame the autodiscovery of git fails in these cases.
Many thanks that sorted it... I guess the problem was meant for me as I don't install any programs to C:\Program Files, I install all development type programs to D:\ and everything else to D:\programs.... only wish windows would let change the default install and the user folder to another drive and path... ;)
my 2 cents.. the path you need to give in user settings must contain executable file name as well like .....\\git.exe"
(2 theme extensions excluded)
Steps to Reproduce:
1. 2.
Reproduces without extensions: Yes/No