Github for Windows unable to locate Git on my system when opening the command prompt
Adding "C:\Program Files\Git" to the Windows PATH has no effect.
Git installations usually have a bin
subdirectory containing the .exe
files.
Add C:\Program Files\Git\bin
to your path. Note the \bin
at the end.
Related videos on Youtube
Trilarion
Updated on September 18, 2022Comments
-
Trilarion over 1 year
I have Windows 10 (German) and installed Git for Windows 2.13.2 (64 bit) at "C:\Program Files\Git".
I installed Github for Windows 0.6.2 (64 bit), the desktop version.
I can pull changes from my git repositories on Github just fine.
However, when clicking on menu Repository/Open command prompt an error message shows up saying that Github for Windows was unable to locate Git on my system.
I don't want to open the command prompt without Git nor do I need to install Git because I already have. Nowhere in the settings of Github for Windows I can tell it where to find Git. Adding "C:\Program Files\Git" to the Windows PATH has no effect.
How can I make Github for Windows open the Git bash?
-
DavidPostill almost 7 yearsYou probably need to add
C:\Program Files\Git\bin
to your path. Note the\bin
at the end. -
Trilarion almost 7 years@DavidPostill Yes, that did the trick. My mistake.
-
DavidPostill almost 7 yearsGreat! Answer added :)
-