Commit message history

已回答

Is there a way to prevent PhpStorm to fill in the last commit message when committing changes? 

I can find history with ^M but I want very rarely to set the very last message there. So can it be empty by default?

1

Hi there,

Please try "Settings/Preferences | Version Control  | Confirmation --> Clear initial commit message"

 

From https://www.jetbrains.com/help/phpstorm/2017.1/confirmation.html

Clear initial commit message If this check box is selected, the previous check-in comment is cleared from the Comment area.
3
Avatar
Permanently deleted user
0

Note that it's now under Version Control > Commit in PHPStorm 2020.2!

1

Thanks for the tip! 

This was such a bizarre feature to have enabled by default, particularly with no obvious UI to disable in the dialog. Pretty annoying to have to disable this for every project.

0

@Patrick Nelson

File | New Projects Settings | Settings for New Projects...

Settings set there will affect all new future projects created on that computer.

0

请先登录再写评论。