evanchueng / gerrit

Automatically exported from code.google.com/p/gerrit
Apache License 2.0
0 stars 0 forks source link

How to change default commit-msg #641

Open zwlbook opened 2 years ago

zwlbook commented 2 years ago

I would like to change default commit-msg, my gerrit verssion is 3.4.1. I found the commit-msg is in gerrit.war/****/com_google_gerrit_server_libserver.jar and I have changed commit-msg. After that, I recompiled Gerrit. The commad is "java -jar gerrit.war init -d ./review". But the new commit-msg doesn't work. I was so confused. I sincerely hope to get your help.