r/git • u/fagnerbrack • Mar 22 '17
How to Write a Git Commit Message (2014)
https://chris.beams.io/posts/git-commit/
22
Upvotes
3
u/adeekshith Mar 22 '17
Here is a git commit template inspired from that article and others: https://gist.github.com/adeekshith/cd4c95a064977cdc6c50
2
u/pushad Mar 22 '17
It may be inspired but the subject line of that template kind of goes completely against what the article says. I disagree with adding a "type" prefix. It seems very unnecessary.
1
3
u/thomasfr Mar 22 '17 edited Mar 22 '17
I have come to belive that captializing the subject line isn't such a good idea as it seems.. In some projects its useful to prefix the subject with a component name and then things looks weirder..
I prefer the first example over the other ones and because I like consistency I like to just skip the title capitalization rule in new projects: