This is a few helpers for githooks to instrument or standardize git across repos.
Setup by symlinking 'commit-msg' and 'commit-msg-validate.js' into your repo's .git/hooks
To share the config, also symlink the '.vcmrc' to the root of your repo. (These are reduced from the default: more types !== more value.)
This enforces standards for your commit messages. Aside from the benefit of standardized messages, the standardization allows for mining git commits and see trends. Originally, this came out of an effort to compare and contrast two projects.
- Capture the notion of "project phase" with some option format portion.
Borrowing from other projects for ideas
- Karma's git commit messages standards
- conventional-commit-types
- validate-commit-message (the dep that does most of the work)