• Any git in a storm?

    Any git in a storm?

    If your instance of PHP Storm is saying it can’t find git.exe then there’s an easy way to fix it. Assuming you do have git installed!


    • I’ve just upgraded to PHPStorm 8.
    • I opened up my GitHub clone of the shortcake plugin.
    • PHP Storm detected that it was a Git repo so checked for git.exe
    • Which it couldn’t find.
    • I had no idea either… I use GitHub
    • But found the answer soon enough.

    My solution

    • Start Git Shell
    • Execute where git.exe
    • Take your pick from the two listed
      C:\GitHub>where git.exe
    • Paste the file name into PHPStorm and Test
    • Alternatively just type PATH
      tem32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Co
      re-Static;C:\Program Files (x86)\Common Files\Acronis\SnapAPI\;C:\Program Files\
    • Choose the first one, copy and paste, then append \git.exe

    Update July 2015

    What worked in January no longer works today.

    When I started Git Shell from the desktop I got taken to the Windows Power Shell where the PATH is not defined to run cygwin, so which git.exe didn’t work. Furthermore path didn’t appear to work either.

    I realised that I needed to start the Git Shell from GitHub for Windows because this is where my default shell is set to Cmd

    • Start GitHub for Windows
    • Choose Settings > Open in Git Shell

    But before I realised this I did manage somehow to discover the path after which I created a git.bat file to invoke git.exe.

    So now I can use the git command in my normal command prompt, except git commit didn’t work because it couldn’t find gitpad. I fixed this using

    git config --global core.editor vs

    where vs is the Visual Slick Editor.

    See also



    Last updated:

    July 27, 2015


Tide times from tidetimes.org.uk

Tide Times & Heights for Langstone Harbour on
17th May 2022
00:48 High Tide ( 5.09m )
06:07 Low Tide ( 0.61m )
13:12 High Tide ( 5.01m )
18:27 Low Tide ( 0.68m )

Tide times from tidetimes.org.uk

Tide Times & Heights for Northney on
17th May 2022
00:50 High Tide ( 4.94m )
06:05 Low Tide ( 0.14m )
13:20 High Tide ( 4.83m )
18:26 Low Tide ( 0.35m )