Interview Q&A / Git & GitHub

IntermediateQuick answer1 min readUpdated 3 Oct 2026

What are Conventional Commits?

SHORT ANSWER

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

text
feat(cart): add coupon code field
fix(login): handle empty password
docs: update setup steps
feat(api)!: rename /users to /accounts

What 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."

#git#commit-message#conventional-commits

Related questions

Practise more Git & GitHub questions

Test your recall with short answers, then return to the detailed explanations when you need context.

Open Git & GitHub quick answers →

Get new questions like this by email

One short email when something new and useful lands. No spam, unsubscribe in one tap.

By subscribing you agree to the Privacy Policy.