IntelliJ: Change standard commit message

匿名 (未验证) 提交于 2019-12-03 08:44:33

问题:

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 imageservlet"), which is kinda annoying. (in a VERY light grey)

Does anyone know how I can get rid of that or why this occured?

回答1:

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.



回答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.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!