Conventional Commits in action
$ git commit -S -m
"feat (auth) : "add Google OAuth login"
-m \
"Implements Google authentication
using Firebase Auth SDK v10.2"
GPG Signature (-S)
Verifies commit authorship.
Type
feat, fix, docs, refactor, etc.
Scope
Affected module or part.
Description
Short summary in imperative mood.
Body
Details and motivation for the change.
Conventional Commits is a standard that allows generating automatic changelogs, determining semantic versions, and facilitating history navigation.
type(scope): description
Scope is optional but recommended for large projects.
Clear and navigable history for the entire team.
CI/CD can act based on commit type.
Automatically generates release notes.
feat → minor, fix → patch, BREAKING → major.