Skip to content

jeffreypriebe/githooks

Repository files navigation

githooks

This is a few helpers for githooks to instrument or standardize git across repos.

Setup

Commit Message Validation

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.)

Rationale

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.

Todo

  • Capture the notion of "project phase" with some option format portion.

References

Borrowing from other projects for ideas

About

Various githooks for reuse

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published