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
Type | Emoji | Code | Description |
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:
ย