Murphstar
Murphstar

Reputation: 129

Conventional commits when to use Fix vs Feat

So according to conventional commits fix is used to patch a bug in the codebase while feat introduces a new feature to the codebase, which is straightforward enough.

What if I have a commit that is something that's not really a bug but not a feature either? In my case its a commit that's changing some text on a webpage. This doesn't seem like it qualifies as a "feature" but its also not exactly a bug either

Upvotes: 2

Views: 5812

Answers (1)

Philippe
Philippe

Reputation: 31187

If it's not a fix because you're fixing a bad text that have been introduced early, for me it's feat because you are doing an improvement to your website. Not one with huge added value but one with it still...

You have also other keywords generally used in conventional commits and if you juge that your change is not important enough to use feat, maybe you could use chore.

Upvotes: 3

Related Questions