If you look at commit history of projects like agnuar.js or jquery, you will notice that they use a consistent commit message style. Would you perhaps like to do the same?
One way to support a single commit message style is to have git perform the check via a hook, like so:
The process shown above is done via an npm module commitplease
(npm, github). It checks your commit message and tells you if it is a poor one (long lines, bad first line and so on). Commitplease is used by jQuery Core, jQuery UI, jQuery Mobile, Globalize, QUnit and others. It is as simple as
npm install commitplease --save-dev
If you are interested, let me know what you think. Disclaimer: I help develop commitplease.
This seems like a lot of overhead for little gain. A good chunk of our pull requests come from developers new to Git / Github. I don't think we want to add yet another barrier to entry.
Most helpful comment
This seems like a lot of overhead for little gain. A good chunk of our pull requests come from developers new to Git / Github. I don't think we want to add yet another barrier to entry.