2

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.

enter image description here

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?

3
  • 1
    You probably need to add C:\Program Files\Git\bin to your path. Note the \bin at the end. – DavidPostill Jul 9 '17 at 12:34
  • @DavidPostill Yes, that did the trick. My mistake. – Trilarion Jul 9 '17 at 12:41
  • Great! Answer added :) – DavidPostill Jul 9 '17 at 12:43
4

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.