Will parse the commit message and will fail if it doesn't follow the convention: Conventional Commits v1.0.0
brew install ctrlaltdev/tap/cccor
brew tap ctrlaltdev/tap
brew install cccFrom within the repository you want to install the hook in:
ccc -initecho ccc -f $@ >> .git/hooks/commit-msg
chmod a+x .git/hooks/commit-msg