Cannot git commit in PHPStorm terminal

Im reinstall my W10, on clean W10 ive installed Git, Node, ide etc...
When my local work was done, i was try to commit it, but this process just was frozen. And no matter how long I waited.
And sometimes in core project derectory git creates file sh.exe.stackdump.

When i just open git bash in project folder without PHPStorm, git commit , git push works 100% fine.
How i can fix this? Some problem with windows 10 terminal with using PHPStorm?

0
12 comments

When i just open git bash in project folder without PHPStorm

What Git executable path do you have at Settings | Version Control | Git?
If it's a Windows path, it makes sense to check if git push works in CMD rather than in Bash.

1

Windows 10 system variables Path is C:\Program Files\Git\cmd 
PHPStorm: auto detected => C:\Program Files\Git\cmd\git.exe


P.S Git push works fine inside PHPStorm Terminal, have problem with git commit only.  So for now im use ide interface for commiting and it works fine there, but I'm used to doing it through the terminal.

 
0

Just to make things sure, please launch CMD outside PhpStorm, navigate to the project directory, and perform git commit in there. Does it work?

0

Yes. CMD 100% works fine without PHPStorm ide


When try to commit in ide process is frozen and create new file in core directory

 
0

I don't understand what might be causing it. The only difference between the OS terminal and our implementation is a slightly different set of environment variables.

Could you please check if both terminals return the same path to Git? You can check it with where git.

0

same for cmd and ide  =(

 
0

Perhaps something comes up in the logs when it happens? Could you please upload the logs (Help | Collect Logs and Diagnostic Data) after you reproduce the issue again? If the IDE is not responsive at all, please restart it and then collect the logs. Thank you!

0

this logs include NDA data from project
can i find issue inside logs myself?

0

Frankly, I don't know. I hoped that something comes up there, but I have no idea what exactly.
One more question - if you create a new empty project, perform git init there, then create a file and try to commit the change - would it still fail in the same way it did in your NDA project?

0

that problem still here... ohh
can i contact with some one from Support on discord \ Skype \ etc? 
i was tryed all but it is still here 

0

Unfortunately, we don't provide support over the phone.
Could you please answer this question?

One more question - if you create a new empty project, perform git init there, then create a file and try to commit the change - would it still fail in the same way it did in your NDA project?

It's not a suggested solution but rather a troubleshooting step.

0

Please sign in to leave a comment.