Conventional Commits defines several types for commit messages like feat
, fix
, chore
, ci
etc.
My question is about the workflow if I'm working on a feature whose scope spans several days of work. As a good developer I want to commit early and often but the feature in the sense of Conventional Commits is defined as:
feat
: a commit of the typefeat
introduces a new feature to the codebase (this correlates with MINOR in semantic versioning).
So this type of commit should only be used once (otherwise, a CHANGELOG
generated from these commits would list a lot of features which indeed are only parts of a particular feature).
I'm wondering whats the common workflow to solve commit (and push) early and often using Conventional Commits?
Does everybody squash their commits into a feat: ...
type commit?
Are there other workflows?
Which type of messages are used until the squashing feat
commit?
WIP:
which means "work in progress". – Buna