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?

Cristik
  • 24,833
  • 18
  • 70
  • 97
jgutix
  • 621
  • 1
  • 6
  • 8
  • 3
    possible duplicate of [Integrating RubyMine with GitHub for Windows](http://stackoverflow.com/questions/11497506/integrating-rubymine-with-github-for-windows) – CrazyCoder Sep 20 '12 at 06:58
  • 1
    @CrazyCoder yes sir, that solves this question too. Thanks! – jgutix Sep 20 '12 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 Mar 01 '14 at 19:01
  • 1
    Mine only worked using this: `"C:\Program Files (x86)\Git\bin\sh.exe" --login -i` (WebStorm 10) – cjm Jul 07 '15 at 14:57

3 Answers3

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

keeg
  • 3,860
  • 8
  • 44
  • 92
5

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 )

Mukesh
  • 7,018
  • 19
  • 97
  • 143
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

Community
  • 1
  • 1
James Knight
  • 56
  • 1
  • 4