Commit to git randomly fails
Answered
When I try to commit to git using PyCharm, it sometimes succeeds and sometimes fails. By "fail" I mean the reformatting, code analysis etc. if any are performed, the warnings and TODOs if any are offered for review, and then the Commit Changes dialogue box remains on screen. I sometimes have to push Commit 5 or 6 times before it succeeds. There is no message in the git log when it fails, so it seems the git commands are just not being issued. This happens whether I am using Commit or Commit and Push. I can find no pattern to when it succeeds and when it fails. Can anyone suggest something that might be causing this?
Please sign in to leave a comment.
The description is a bit confusing. Is it commit, or push failing?
Do I understand correctly that IDE shows a dialog regarding some Code Analysis issues or TODOs left, and after you click Review the Commit dialog stays open? Or is it a different scenario?
Are there any exceptions in the IDEA.log?
https://intellij-support.jetbrains.com/hc/en-us/articles/207241085