When I commit changes in IntelliJ, the commit message is prepopulated with the commit message of my last commit. I sometimes then forget to update the message, and commit with incorrect commit messages. I'd rather it was empty so I'd get an error/warning if I forgot to enter one.
Another question deals with fixing corrupted settings. I'm trying to disable it altogether.
Can I configure IntelliJ to not remember my last commit message?
IntelliJ IDEA lets you review the state of your project at a selected revision. Open the Git tool window Alt+9 and switch to the Log tab. Select a commit and choose Show Repository at Revision from the context menu.
note. Starting from IntelliJ IDEA version 2020.1, you can switch to a non-modal commit interface: select the Use non-modal commit interface option (enabled by default for new installations) on the Version Control | Commit page of the IDE settings Ctrl+Alt+S .
File > Settings > Version Control > Commit Dialog > Clear initial commit message
I was having the same problem as you, forgetting to update the commit message. I created this plugin, it basically clears message after you successfully commit something. It doesn't delete the message if you close commit window without committing. Check it out, it might work for you.
For PhpStorm (Mac) it's in:
PhpStorm > Preferences > Version Control > Commit Dialog
Note: I googled 'disable phpstorm default commit message', and arrived here.
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