Skip to content

Latest commit

 

History

History
10 lines (5 loc) · 689 Bytes

README.md

File metadata and controls

10 lines (5 loc) · 689 Bytes

commitlinter

An imperfect bash git hook linter for commit messages, ensuring compliance with conventional commits guidelines ala conventional commits

See the spec here.

To enable, copy commit-msg to .git/hooks/ under your favorite git repo -- or if you're brave and want to use this globally, copy the script to your system git templates directory and future inits/clones will ensure it's present.

sudo sh -c 'cp commit-msg /usr/share/git-core/templates/hooks/ && chmod 0755 /usr/share/git-core/templates/hooks/commit-msg'