Git on Windows - msysgit
Hi
I have my Windows Git installation in c:\msysgit and git.exe is in a sub-folder.
Storm is complaining that it can't find "git.exe" and there doesn't seem to be a way to tell it where to look. Can anyone help with this?
Thanks.
Please sign in to leave a comment.
Settings|Version Control|VCSs|Git
Also you may just set git to be available in path when installing msysgit
Hi Alexey
Thanks for the pointer.
I have specified the git.exe file in Storm and immediately, Windows tells me the git.exe has stopped working. Storm comes back to me with the following error:
"The git process exited with the code -1,073,741,515"
Any ideas what is happening here?
Many thanks.
Looks like a problem with your git installation or environment. Does git work normally from commandline or other IDE's? what's the git --version output?
Hi Alexey
The Git version is 1.7.1 GIT.
It works fine from the command line which on Windows is a Command prompt.
See attached screenshot.
Thanks and regards.
Attachment(s):
ScreenShot045.bmp
Works for me with msysGit 1.7.0.2.msysgit.0 (Git-1.7.0.2-preview20100309.exe), I don't use a newer version as I don't want to risk breaking my TortoiseGit. Maybe try reinstalling? When I broke my Git installation it helped.
Hey Piotr,
Thank you so much for the heads up. I have used your version and it works fine!
On saying that, the installation of your version of msysGit was significantly smaller than the one I previously used. Mine resulted in command prompts running lengthy scripts and took about 20 minutes to install. It really looks like I was installing something quite different.
The version you pointed me to seems to work straight off with both PhpStorm and TortoiseGit.
This now allows me version control with a local repository. I wonder whether you could advise me how or what or the steps would be to utilise a remote repository? Is this capability within PhpStorm or do you have to use other tools to keep the local repository copied to a remote server somewhere?
I don't have a remote Git repository - in fact, this is my first time using Git so, I am a Git newbie too.
Any pointers you may be able to give me would be greatly appreciated.
Regards and thanks!
What you used was probably msysGit netinstall, which allows you to use the newest version. I use the one that is guaranteed to work with TortoiseGit and I won't change it until developers say it works with 1.7.1 :)
I have Git configured with Putty PLink, this way TortoiseGit works nicely with login/password authentication and my private key, and this should be enough for basic usage (you just have to convert your key to supported format) - everything as described in TortoiseGit wiki and their instructions. When I want to use commandline git to pull some changes, I use provided Git Bash and overwrite ssh settings:
GIT_SSH=ssh git pull
Then it uses my keys and configuration from ~/ssh.
Thanks for your help, Piotr!
Thanks for you help Piotr!
I really appreciate it
I also had to delete my old git installation and install the old one:(
Anybody found out, why the new msysgit version is making trouble?
I get the same problem in IntelliJ 2017.2 with git version 2.13.1.windows.1
Commit operations work fine in console with the same git executable. (C:\Program Files\Git\bin\git.exe)
6:58 PM Commit failed with errors
0 files committed, 2 files failed to commit: Update gitignores.
The Git process exited with the code -1,073,741,819
The Git process exited with the code -1,073,741,819
@Calvert Try to update Git to the latest 2.15.
Also what does Test button in File | Settings | Version Control | Git say?
Well I upgraded before I saw that last bit. I will post here if I continue to have problems.
git --version
git version 2.15.0.windows.1
I faced the same issue, so I switch to git bash instead of cmd console; I set it up as in this post:
http://blog.codeleak.pl/2014/02/git-bash-in-intellij-idea-13-on-windows.html