Conventional Commits vs Normal Commits
Compare standard free-form Git commit messages with the structured Conventional Commits specification.
Normal Commits
Normal commits are free-form text. While they can be descriptive, they lack a standardized prefix. Examples include "Added login form" or "fixed the database bug". This makes automated parsing nearly impossible.
Conventional Commits
Conventional Commits enforce a strict prefix system based on the Angular commit guidelines. Examples include "feat: add login form" and "fix: database bug".
The Benefit of Structure
The strict structure of Conventional Commits allows machines to read the Git history. This enables tools like semantic-release to automatically bump version numbers and generate changelogs based on whether a commit was a feat or a fix.