DEV Community

Discussion on: How to Write Useful Commit Messages (My Commit Message Template)

Collapse
 
dinkydani21 profile image
Danielle

Great article! What are your thoughts on the Conventional Commits method?

My commits all have a type and a scope plus some info if necessary:

feat(landing): added pricing page

New page for pricing in addition to the section on the homepage
... etc
... etc
Collapse
 
defman profile image
Sergey Kislyakov

Should be "add" though, iirc. So I can read your commit like "this commit will add pricing page".
But nevertheless, I'm using this method too and it's great. It looks nice and understandable in the commit log and I can even generate the changelog file without worrying about manual editing of changes.