Using IntelliJ 11.1.5, I was having trouble with committing my active changelist to my local Git repository. When I would try to commit, I would observe that though the dialog would come up, clicking commit did nothing, and I would need to play with various configurations of unnecessary subchangelists, committing one file at a time, or unchecking the "optimize imports" and "code analysis" in order to get it to work.
Please note, that this was a somewhat random occurrence, and at other times this wouldn't be an issue. In fact, when I switched to Git GUI or Git Bash the commits worked without incident.
So how do I fix things to be able to use the Git plugin?
I was experiencing problem with non-modal interface in version Ultimate 2020.3 and it turned-out I had to click on Commit button several time in order to work.
BTW, I've also did what @noisebelt suggested -> Invalidate Cache and Restart
before switching to non-modal interface. To switch to that interface:
File > Settings > Version Control > Commit
(For Mac: IntelliJ IDEA > Preferences > Version Control > Commit
)UPDATE: You might want to un-check some of checkboxes in Settings>Version Control>Commit under "Before Commit" section such as Reformat Code, Rearrange Code, etc. and by doing that diagnose what might be causing this issue with committing.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With