After seeing people use the @jetbrains UI to commit to git I understand where all those - sorry: shitty - commit messages come from…
🙈
An improvement would already be to have a “Subject” line and the text box.
And have the subject line follow the Beams Rule.
Sonthat the first line of the commit message finishes the sentence
“When this commit is applied it will…”
And please: No longer than 56(?) characters (Unicode). Keep it short. You got the textbox to explain *why* in full length.
@heiglandreas @jetbrains What if you want to use Conventional Commits instead of Beams? 😉
@ramsey Just: Don’t.
The subject lines space is limited and should not be wasted for stuff that doesn’t belong there.
Also the prime idea behind conventional commits is to add machine readable info.to the commit message: Fine. Do so. The commit.meysage can be as long as you want. Add it there. Keep the subject line to the human readable part.
Also: Creating changelogs from.git.commits is *not* what chamgelogs are there for.
Keep a changelog can help on *that* front.
@jetbrains
@ramsey @jetbrains I’m still prepping a talk just about commit messages. The Why, How, what nots and Caveats - experiences from decades of code archeology… 🙈
Might just pitch that to the next CfPs…
@heiglandreas @ramsey @jetbrains see, that’s exactly *why* IntelliJ shouldn’t have a default opinion on this. Why wouldn’t they choose these conventions? They’re popular.
Instead they should have the safest possible default, and let you easily configure your own conventions. When possible, by reading git configuration for anything standard. Which is what IntelliJ already does.
@clovis
We might be talking about two different sets of standard. What I would want Jetbrains to support out of the box is the “Subject line, Blank Line, Body” convention that is recommended in the git docs.
People can happily change the defaults to whatever they want but the recommendation from git should IMO be the default.
/cc @ramsey @jetbrains
@clovis
We might be talking about two different sets of standard. What I would want Jetbrains to support out of the box is the “Subject line, Blank Line, Body” convention that is recommended in the git docs.
People can happily change the defaults to whatever they want but the recommendation from git should IMO be the default.
/cc @ramsey @jetbrains
@clovis
Whether the users then use conventional commits, beams rule, opensavvy, whatever else they want is a completely different question.
And I am absolutely with you that Jetbrains should not favour one over the other.
/cc @ramsey @jetbrains
@heiglandreas @ramsey @jetbrains how do you expect IntelliJ to support this? When if the second line isn’t blank?
@clovis They already DO support it.
/cc @ramsey @jetbrains
@heiglandreas @ramsey @jetbrains what’s the problem then 😅