Best Practices

X-Ray: Git Commit

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.

Why this format?

Conventional Commitsis a standard that allows generatingautomatic changelogs, determining semantic versions, and facilitating history navigation.

Base structure

type(scope): description

Scope is optional but recommended for large projects.

Readability

Clear and navigable history for the entire team.

Automation

CI/CD can act based on commit type.

Changelog

Automatically generates release notes.

SemVer

feat → minor, fix → patch, BREAKING → major.

logoxeland314
Commits clear • Teams happy.