IntelliJ: Change standard commit message

后端 未结 2 1109
时光取名叫无心
时光取名叫无心 2021-02-12 23:30

I am not sure if I did something stupid that my IntelliJ does this, but when I commit changes in SVN I always have the same predefined commit message in the text area (\"changed

相关标签:
2条回答
  • I fixed this by editing the .idea/workspace.xml in the following row:

    <list default="true" readonly="true" id="..." name="Default" comment="CHANGE DEFAULT MESSAGE HERE">

    Thanks to Bohuslav Burghardt for pointing out the correct file to edit.

    0 讨论(0)
  • 2021-02-12 23:59

    Under "Version Control" and "Confirmation", you have a check button : "Clear initial commit message".

    That might be a better solution in case you want to always have an empty text-field to input your commit message. Otherwise you can modify that file.

    UPDATE IntelliJ Version:

    IntelliJ IDEA 2018.3.5 (Ultimate Edition)
    Build #IU-183.5912.21, built on February 26, 2019
    macOS 10.14.3
    

    Option Clear initial commit message is now under Version Control > Commit Dialog

    0 讨论(0)
提交回复
热议问题