Linus: please write good git commit messages
1–10 of 58 posts
Re: Linus: please write good git commit messages
#2GitHub's online editor has a default commit message along the lines of "Edited path/to/file", and I see a lot of pull requests with that message, and nothing else. That's about the most useless message possible, since it adds no information that isn't already implicit in the commit. It would be better to leave it blank and force users to at least write _something_.
Re: Linus: please write good git commit messages
#3It's hard to understate the importance of this. GitHub's online editor has a default commit message along the lines of "Edited path/to/file", and I see a lot of pull requests with that message, and nothing else. That's about the most useless message possible, since it adds no information that isn't already implicit in the commit. It would be better to leave it blank and force users to at least write _something_.
Re: Linus: please write good git commit messages
#4It's hard to understate the importance of this. GitHub's online editor has a default commit message along the lines of "Edited path/to/file", and I see a lot of pull requests with that message, and nothing else. That's about the most useless message possible, since it adds no information that isn't already implicit in the commit. It would be better to leave it blank and force users to at least write _something_.
Be careful, we do that by default and we get a lot of "commit", "commit", "commit $date", "merge commit" messages from some programmers. Either a programmer accepts that a meaningful message is important on commits, or they don't. It's a people problem not a technical one.
Re: Linus: please write good git commit messages
#5Re: Linus: please write good git commit messages
#6Am I the only one that thought this was someone asking Linus Torvalds to write better commit messages?
Re: Linus: please write good git commit messages
#7Earlier quoted context omitted.
Be careful, we do that by default and we get a lot of "commit", "commit", "commit $date", "merge commit" messages from some programmers. Either a programmer accepts that a meaningful message is important on commits, or they don't. It's a people problem not a technical one.
Ah, but what if we encouraged programmers to write better commit messages? What if we splashed on a bit of gamification to raise everyone's level of awareness? Maybe a badge on your profile page...?
Also, badges are done to death. Everyone's got badges these days - so much so they're like ads. Personally, I've developed a blind spot to most of them.
Re: Linus: please write good git commit messages
#8Am I the only one that thought this was someone asking Linus Torvalds to write better commit messages?
Re: Linus: please write good git commit messages
#9Am I the only one that thought this was someone asking Linus Torvalds to write better commit messages?
I agree. I was looking for the irony in that message where Linus didn't follow his own style guidelines...
I'm not saying that's a good thing, mind you.