In plain words
A readable history has one logical change per commit, each with a message saying what changed and why, so teammates can review it, find when a bug appeared and revert one step cleanly.
Where you see it
A bug turns up in Harbor's invoices and git blame points to a commit called wip. A history in the Conventional Commits style reads more like a log of decisions: feat(billing): add annual plans, then fix(invoices): round tax per line item.
What goes wrong
- One commit that does five things
A commit that renames files, fixes a bug and adds a feature can't be reverted without losing all three. Commit each logical change on its own; git add -p lets you stage part of a file.
- Checkpoint commits landing on main
Forty commits named wip or Update file are fine on a branch and useless in main's history. Squash them into one or a few clear commits when you merge.
- Messages that say what but not why
fix rounding repeats what the diff already shows. Add the reason in the body: which invoices were wrong and which rule they follow now.
git commit -m "fix rounding"
What to tell your agent
Quick check
Sign in to earn +10 XP for itSix months from now, someone runs git blame on Harbor's tax code. Which commit message helps them most?