Top

Commit Conventions

This document outlines the guidelines for Git commit messages and commit granularity. The goal is to improve history readability and make tracking changes easier.

Commit Granularity

Commits should be divided into “meaningful minimum units.”

Commit Message Structure

Write messages so that the changes are immediately understandable.

Basic Format

<type>: <summary>

<body> (optional)

type (Change Types)

Use prefixes consistent with those used in GitHub Issues and Pull Requests.

summary (Summary)

body (Body)

Example of a Good Commit Message

feat: [ISSUE-45] Add validation for user registration

- Added check for duplicate email addresses
- Changed minimum password length to 8 characters
- Translated error messages into Japanese

Related Documents: