We started to use the Gerrit code review recently. Sometimes when you make a simple commit and try to make a push to Gerrit, this error is displayed:
remote rejected
commit subject >65 characters; use shorter first paragraph
I looked in the web but did not find how to solve this problem. I tried to make an amend in the previous commit and reduce the size of the commit message, but the error remains.
What kind of error is that? And how to solve it? Is there some Gerrit configuration about the size of the commit message?
The first paragraph of your commit message should be 65 characters.
You may split it for a longer text:
initial commit message <65 chars
my long commit message with a lot of information,
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Suspendisse metus nulla, blandit eget aliquam sed, tincidunt
nec turpis. Ut quis gravida augue, scelerisque tempor risus...
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