| Type | Emoji | Code | When to use it | Semantic versioning | |
|---|---|---|---|---|---|
| ✅ | 🚧 | :construction: |
Work in progress. | ||
| ✅ | BREAKING CHANGE | 💥 | :boom: |
Introducing a Breaking Change | major |
| ✅ | feat | ✨ | :sparkles: |
Introducing new features | minor |
| ✅ | fix | 🐛 | :bug: |
Fixing a bug | patch |
| ✅ | fix | 👕 | :shirt: |
Fixing linter warnings | patch |
| ✅ | fix | 🔒 | :lock: |
Fixing security issues | patch |
| ✅ | fix | ✏️ | :pencil2: |
Fixing typos | patch |
| ✅ | fix | 🚑 | :ambulance: |
Critical hotfix | patch |
| ✅ | docs | 📝 | :pencil: |
Writing docs | |
| ✅ | docs | 💡 | :bulb: |
Just adding, removing or updating a comment. Documenting source code |
|
| ✅ | style | 💄 | :lipstick: |
Updating the UI and style files | patch |
| ✅ | i18n | 🌐 | :globe_with_meridians: |
Internationalization and localization | patch |
| ✅ | refactor | ♻️ | :recycle: |
Refactoring code | |
| ✅ | perf | ⚡ | :zap: |
Improving performance | |
| ✅ | build | ➕ | :heavy_plus_sign: |
Adding a dependency | |
| ✅ | build | ➖ | :heavy_minus_sign: |
Removing a dependency | |
| ✅ | build | ⬆️ | :arrow_up: |
Upgrading dependencies | |
| ✅ | build | ⬇️ | :arrow_down: |
Downgrading dependencies | |
| ✅ | resp | 📱 | :iphone: |
Working on responsive design | patch |
| ✅ | gitignore | 🙈 | :see_no_evil: |
Adding or updating a .gitignore file | |
| ✅ | release | 🚀 | :rocket: |
Release |
The commit message should be structured as follows:
<optional emoji> <type> (<scope>): <description> <optional body> <optional footer>
e.g.:
🐛 fix: Fix the "Crop image to fill entire column"
Use correct class name for media container element
Rename media container class name for consistency