atsid / guides

Docs and discussion about ATS software delivery culture and practices.
http://labs.atsid.com/guides/
Apache License 2.0
6 stars 4 forks source link

Update GitHub guide to modify commit message format #34

Closed natoverse closed 8 years ago

natoverse commented 8 years ago

Specifically, to add parens around issue number, which works around any editors that see a leading hash as a comment.

bmathews commented 8 years ago

It might be worth linking/including the commit msg validation git hook Chris wrote and maybe even the related npm postinstall script (or use https://www.npmjs.com/package/git-hooks)?

https://github.com/atsid/generator-ats-node-webapp/blob/08b1372cfdebbef1a38f7d1697dc3fe078b5e092/generators/skeleton/templates/scripts/git/hooks/commit-msg

natoverse commented 8 years ago

That's a great point - if they use the generator, they get it for free, otherwise they should know where to copy it from if they want a bit more strictness on the repo.