Skip to content

Emoji Conventional Commits Reference

Complete reference for emoji conventional commit format used in the git-workflow plugin.


Format

Text Only
1
2
3
4
5
<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
1
2
3
4
5
6
7
8
โœจ 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
1
2
3
4
5
6
๐Ÿ› 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
1
2
3
4
5
6
๐Ÿ“š docs: Add API authentication guide

Comprehensive guide covering:
- JWT token generation
- Token refresh workflow
- Error handling

Refactoring

Text Only
1
2
3
4
โ™ป๏ธ 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
1
2
3
โœจ feat(auth): Add OAuth2 support
๐Ÿ› fix(api): Resolve CORS issue
๐Ÿ“š docs(readme): Update installation steps

Breaking Changes

Mark breaking changes in footer:

Text Only
1
2
3
4
โœจ feat: Redesign authentication API

BREAKING CHANGE: Authentication endpoint changed from
/api/login to /api/v2/auth/login. Update all client code.