Git conventional commit

Git conventional commit

What is conventional commit

Conventional Commits is a specification for writing standardized commit messages. It provides a set of rules for creating a clear and conventional commit history. Each commit message follows a structured format that makes it easier to understand the changes in a repository.

Conventional commit format

<type>(<optional scope>): <description>

[optional body]

[optional footer]

Git conventional emoji

TypeEmojiCodeDescription
featโœจ:sparkles:Introduce new feature
fix๐Ÿ›:bug:Fix a bug
docs๐Ÿ“š:books:Documentation updates
style๐Ÿ’Ž:gem:Code style changes
refactor๐Ÿ”จ:hammer:Code refactoring
perf๐Ÿš€:rocket:Performance improvements
test๐Ÿšจ:rotating_light:Adding tests
build๐Ÿ“ฆ:package:Build system changes
ci๐Ÿ‘ท:construction_worker:Continuous integration
chore๐Ÿ”ง:wrench:Other chores or tasks
init๐ŸŒฑ:init:Initial commit

Reference:

ย