Commit failed with error: Creation of commit message file failed
Hello,
When doing a git commit from within PhpStorm, I get the error:
Commit failed with error:
Creation of commit message file failed
The entire git directory is owned by me and a manual git commit from the command line works fine.
At work (this problem occurs at home) I don't have this problem with the same PhpStorm version and OS.
PhpStorm version: 8.0.1
OS: Xubuntu 12.04
A google search doesn't give any usable info (I don't read chinese), neither does a search here on in the knowledgebase.
Any help would be appreciated.
Regards,
Martijn
请先登录再写评论。
please can you attach your idea.log?
The problem seems to have resolved itself without any action on my part (apart from closing PhpStorm, shutting down my computer and restarting and reopening today).
It might have been caused by me deleting the .git directory, temporary moving .idea out of the project directory, making a new git clone and moving the .idea directory back in. In idea.log I saw:
2014-11-29 12:38:10,836 [3955271] INFO - .status.GitNewChangesCollector - GitRepository is null for root file:///home/martijn/git/ws_laravel
2014-11-29 12:38:27,587 [3972022] WARN - a.crlf.GitCrlfProblemsDetector - Repository is null for file:///home/martijn/git/ws_laravel
Make sure you have free space on your disk.
If you use Docker stop all containers which shares volumes with project folder and try to commit again