What are Conventional Commits?
Conventional Commits is a message format type(scope): description, with types like feat, fix, docs and chore. It makes history readable and lets tools generate changelogs and pick version bumps automatically.
Explain it simply
It is like putting a coloured sticker on every commit: green for feature, red for bug fix, grey for housekeeping.
The type tells the kind of change, an optional scope names the area, and the description follows. feat bumps the minor version, fix bumps the patch, and an exclamation mark or a BREAKING CHANGE: footer signals a major bump. Tools such as semantic-release read these messages to build release notes and version numbers without manual work.
Example
feat(cart): add coupon code field
fix(login): handle empty password
docs: update setup steps
feat(api)!: rename /users to /accountsWhat to say in the interview
"Conventional Commits uses type(scope): description, with types such as feat, fix and docs. It makes history scannable and lets tools generate changelogs and decide semantic version bumps. A breaking change is marked with ! or a BREAKING CHANGE footer."