17

PhpStorm integration with Git asks me for git.exe path, however "github for windows" seems like it doesn't create any git.exe file. So is it a way to config phpstorm so it use "github for windows" for working with github?

4
  • 3
    possible duplicate of Integrating RubyMine with GitHub for Windows
    – CrazyCoder
    Commented Sep 20, 2012 at 6:58
  • 1
    @CrazyCoder yes sir, that solves this question too. Thanks!
    – jgutix
    Commented Sep 20, 2012 at 18:11
  • 4
    You can also change your PhpStorm terminal to use Git Bash by going into Settings > Terminal > Shell path and setting it to C:\Windows\SysWOW64\cmd.exe /c ""C:\Program Files (x86)\Git\bin\sh.exe" --login -i"
    – mpen
    Commented Mar 1, 2014 at 19:01
  • 1
    Mine only worked using this: "C:\Program Files (x86)\Git\bin\sh.exe" --login -i (WebStorm 10)
    – cjm
    Commented Jul 7, 2015 at 14:57

3 Answers 3

20

I set it up using Git Bash, once installed in PhpStorm go to:

settings > version control > Git

And point to

C:\Program Files (x86)\Git\cmd\git.exe

Or where ever you installed Git Bash

6

To configure Git with PhpStorm on Windows 7 use the following path :

C:\Program Files\Git\bin\git.exe

( Used with Git version is 2.7.1.0 )

1

Github for Windows uses a version of PortableGit located in the AppData\Local\Github folder.

Very similar to the RubyMine Issue above: Integrating RubyMine with GitHub for Windows

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