Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 

Repository files navigation

knuffventional kommits ✨

A commit message format that uses emojis for quick visual identification.

🀷 it's fun. - don't take it too seriously.

Format

emoji (scope) description
  • emoji - one of the type emojis (see below)
  • (scope) - optional context
  • description - present tense, max 72 characters

Commit Types

Emoji Type Description Conventional Equivalent
✨ feature new functionality / new UI feat
πŸ› fix fix bugs, errors, issues fix
πŸ”¨ refactor code refactors refactor
πŸ§ͺ test add / update tests test
πŸ“‹ docs documentation changes docs
🏎️ performance performance improvement perf
πŸ“¦ build dependencies, build, CI/CD build, ops
🧹 chore maintenance, cleanup, misc. changes chore, style

Conventional to Emoji Mapping

  • feat β†’ ✨
  • fix β†’ πŸ›
  • refactor β†’ πŸ”¨
  • test β†’ πŸ§ͺ
  • docs β†’ πŸ“‹
  • perf β†’ 🏎️
  • build, ops β†’ πŸ“¦
  • chore, style β†’ 🧹

Rules

  • One emoji per commit - No combining types
  • Lowercase start - Except proper nouns, brands, or technical terms (API, OAuth, Docker)
  • Present tense - "add" not "added", "fix" not "fixed"
  • 72 character limit - For clean display in git log --oneline
    • if you need more, put it in the body, or split into smaller commits
  • Optional scope - Use (scope) for context: modules, components, files (e.g., (auth), (cart)), etc.
    • to mark a breaking change, append ! after the closing parenthesis: (scope)!
  • No empty descriptions - Always provide meaningful description

Examples

✨ add user authentication system
✨ (auth) add OAuth integration
πŸ› fix login redirect loop
πŸ› (ui) fix navigation menu overflow
πŸ”¨ simplify user service module
πŸ”¨ (utils) extract validation helpers
πŸ§ͺ add unit tests for user service
πŸ“‹ update API documentation
πŸ“‹ (readme) add installation instructions
🧹 apply gofmt 
✨ improve mobile responsiveness
✨ (dashboard) redesign layout
🏎️ cache user info after login
πŸ“¦ update dependencies
πŸ“¦ (ci) add GitHub Actions workflow
🧹 add build artifacts to .gitignore
πŸ”¨ (cfg)! change default database port to 5433

Git Log Example

886bb7c7 ✨ add user authentication system
9a4d2f1e πŸ› (ui) fix navigation menu overflow
1c7b5a3f πŸ“‹ update API documentation
7d8e9b0a πŸ”¨ simplify user service module
2f5c6d4b πŸ§ͺ add unit tests for user service
d34db44f πŸ”¨ (api)! remove `old_login` endpoint
9e3a7b5c ✨ redesign dashboard layout
6d8c3e9f πŸ“¦ update dependencies
137ee79a 🧹 add build artifacts to .gitignore

Like it? Make it yours! Use whatever emojis you prefer - embrace the sillinessπŸ•Ί

About

A commit message format that uses emojis for quick visual identification.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors