Emoji Conventional Commits Reference Complete reference for emoji conventional commit format used in the git-workflow plugin.
Text Only <emoji> <type>: <description>
[optional body]
[optional footer]
Commit Types Emoji Type Description Example โจ feat New features โจ feat: Add user authentication ๐ fix Bug fixes ๐ fix: Resolve login timeout issue ๐ docs Documentation ๐ docs: Update installation guide ๐ style Code formatting ๐ style: Format with Prettier โป๏ธ refactor Code restructuring โป๏ธ refactor: Simplify auth logic โก perf Performance โก perf: Optimize database queries ๐งช test Testing ๐งช test: Add login tests ๐ง chore Build/tools ๐ง chore: Update dependencies ๐ init Initial commit ๐ init: Initialize project ๐ security Security fixes ๐ security: Patch XSS vulnerability ๐ i18n Internationalization ๐ i18n: Add German translations โฟ a11y Accessibility โฟ a11y: Improve screen reader support ๐ deploy Deployment ๐ deploy: Release v2.0.0 ๐ merge Merge branches ๐ merge: Merge feature/auth into main โช revert Revert changes โช revert: Revert "Add feature X"
Best Practices โ
Do Use imperative mood : "Add feature" not "Added feature" Be specific : Explain what and why Keep it concise : 50 characters or less for description Use correct type : Choose the most appropriate type Add body for complex changes : Explain the reasoning โ Don't Mix changes : One logical change per commit Use vague descriptions : "Fix stuff" is not helpful Skip the emoji : It provides visual context Ignore conventions : Follow the format consistently Examples Feature Addition Text Only โจ feat: Add password reset functionality
Implements email-based password reset with:
- Token generation and validation
- Email notification service
- Secure password update endpoint
Closes #123
Bug Fix Text Only ๐ fix: Resolve memory leak in WebSocket connection
The WebSocket connection was not properly closed on component
unmount, causing memory leaks in long-running sessions.
Fixes #456
Documentation Text Only ๐ docs: Add API authentication guide
Comprehensive guide covering:
- JWT token generation
- Token refresh workflow
- Error handling
Refactoring Text Only โป๏ธ refactor: Extract validation logic into separate module
Improves code organization and reusability by moving
validation functions from controllers to dedicated module.
Scope (Optional) Add scope for more context:
Text Only โจ feat(auth): Add OAuth2 support
๐ fix(api): Resolve CORS issue
๐ docs(readme): Update installation steps
Breaking Changes Mark breaking changes in footer:
Text Only โจ feat: Redesign authentication API
BREAKING CHANGE: Authentication endpoint changed from
/api/login to /api/v2/auth/login. Update all client code.