tommarshall / git-good-commit

Git hook to help you write good commit messages, with no external dependencies.
MIT License
195 stars 33 forks source link

implement semantic commits #21

Open ssbarnea opened 7 years ago

ssbarnea commented 7 years ago

Support for semantic commits seems to be easy to implement. See https://seesparkbox.com/foundry/semantic_commit_messages

tommarshall commented 7 years ago

Hi @ssbarnea,

There seem to be a few of these different commit message formats.

In this particular case is appears git-good-commit issues a warning because the commit does not appear to be capitalised.

$ git commit -m 'chore: add Oyster build script'
chore: add Oyster build script                                             [line 1]
 - Capitalize the subject line
Proceed with commit? [e/y/n/?]

Are you looking for the git-good-commit simply not to present warnings for chore: add Oyster build script, or for git-good-commit to present a warning if a commit message does not include one of the given prefixes?

Tom

tommarshall commented 7 years ago

@ssbarnea is this a duplicate of #15?