Writing conventional commits with commitizen

Share this video with your friends

Send Tweet

Because semantic-release requires a specific message format, it's easier to follow this convention using a tool called commitizen. In this lesson, we'll use it to write our first conventional commit message.

David Poindexter
David Poindexter
~ 9 years ago

Heads up, for now, you need to make sure the version of cz-conventional-changelog is 1.1.2, else you'll probably get an error:

Potentially unhandled rejection [3] Error: Error loading "word-wrap" at file: ...

corderophilosophy
corderophilosophy
~ 9 years ago

I ran into problems with commitizen 2.8.0 -- it wouldn't commit anything (as per this issue https://github.com/commitizen/cz-cli/issues/205). Using 2.7.6 works.

Sung Kim
Sung Kim
~ 4 years ago

Angular commit message convention: https://github.com/angular/angular/blob/master/CONTRIBUTING.md#commit