Mensagem padrão de commit
Para definir um modelo para as mensagens de commit use:
1git config commit.template /absolute/path/to/file
2git config commit.template relative-path-from-repository-root
3git config commit.template ~/commit.template.txt
Emojis selecionados
- ✨ ✨
sparkles
Novas funcionalidades - 💄 💄
lipstick
Atualização de UI e arquivos de estilo - 🎉 🎉
tada
Commit inicial - 🐛 🐛
bug
Correção de bug - ⚡️ ⚡
zap
Melhoria de performance - ✅ ✅
white_check_mark
Testes adicionados - 🚑 🚑
ambulance
Hotfix crítico - 🚀 🚀
rocket
Deploy - 🚧 🚧
construction
trabalho em progresso - 🏁 🏁
checkered_flag
Feature implementada - 🙈 🙈
see_no_evil
Atualizando .gitignore - 📝 📝
memo
Documentação - 🔧 🔧
wrench
Mudança em arquivos de configuração - ✏️ ✏
pencil2
Corrigindo ortografia - ♻️ ♻
recycle
Refactoring code - 🚚 🚚
truck
Movendo ou renomeando arquivos - 👽 👽
alien
Atualizando código devido a mudança de API externa
Outro emojis
- 🎨 🎨
art
Improving structure / format of the code. - 🔥 🔥
fire
Removing code or files. - 🔒 🔒
lock
Fixing security issues. - 🍎 🍎
apple
Fixing something on macOS. - 🐧 🐧
penguin
Fixing something on Linux. - 🍏 🍏
green_apple
Fixing something on iOS. - 🔖 🔖
bookmark
Releasing / Version tags. - 🚨 🚨
rotating_light
Removing linter warnings. - 💚 💚
green_heart
Fixing CI Build. - ⬇️ ⬇
arrow_down
Downgrading dependencies. - ⬆️ ⬆
arrow_up
Upgrading dependencies. - 📌 📌
pushpin
Pinning dependencies to specific versions. - 👷 👷
construction_worker
Adding CI build system. - 📈 📈
chart_with_upwards_trend
Adding analytics or tracking code. - 🐳 🐋
whale
Work about Docker. - ➕ ➕
heavy_plus_sign
Adding a dependency. - ➖ ➖
heavy_minus_sign
Removing a dependency. - 🌐 🌐
globe_with_meridians
Internationalization and localization. - 💩 💩
hankey
Writing bad code that needs to be improved. - ⏪ ⏪
rewind
Reverting changes. - 🔀 🔀
twisted_rightwards_arrows
Merging branches. - 📦 📦
package
Updating compiled files or packages. - 📄 📄
page_facing_up
Adding or updating license. - 💥 💥
boom
Introducing breaking changes. - 🍱 🍱
bento
Adding or updating assets. - 👌 👌
ok_hand
Updating code due to code review changes. - ♿️ ♿
wheelchair
Improving accessibility. - 💡 💡
bulb
Documenting source code. - 🍻 🍻
beers
Writing code drunkenly. - 💬 💬
speech_balloon
Updating text and literals. - 🔇 🔇
mute
Removing logs. - 👥 👥
busts_in_silhouette
Adding contributor(s). - 🚸 🚸
children_crossing
Improving user experience / usability. - 📱 📱
iphone
Working on responsive design. - 🥚 🥚
egg
Adding an easter egg. - 🔍 🔍
mag
Improving SEO
Não suportado pelo gogs
- ⚗ ⚗
alembic
Experimenting new things - 🏗 🏗
building_construction
Mudanças arquiteturais - 📸 📸
camera_flash
Adding or updating snapshots - 🗃 🗃
card_file_box
Performing database related changes. - 🤡 🤡
clown_face
Mocking things. - 🔊 🔊
loud_sound
Adding logs. - 🤖 🤖
robot
Fixing something on Android.
Outros
- 🎨 improving structure / format of the code.
- ⚡️ improving performance.
- 🔥 removing code or files.
- 🐛 fixing a bug.
- 🚑 critical hotfix.
- ✨ introducing new features.
- 📝 writing docs.
- 🚀 deploying stuff.
- 💄 updating the ui and style files.
- 🎉 initial commit.
- ✅ adding tests.
- 🔒 fixing security issues.
- 🍎 fixing something on macos.
- 🐧 fixing something on linux.
- 🏁 fixing something on windows.
- 🤖 fixing something on android.
- 🍏 fixing something on ios.
- 🔖 releasing / version tags.
- 🚨 removing linter warnings.
- 🚧 work in progress.
- 💚 fixing ci build.
- ⬇️ downgrading dependencies.
- ⬆️ upgrading dependencies.
- 📌 pinning dependencies to specific versions.
- 👷 adding ci build system.
- 📈 adding analytics or tracking code.
- ♻️ refactoring code.
- 🐳 work about docker.
- ➕ adding a dependency.
- ➖ removing a dependency.
- 🔧 changing configuration files.
- 🌐 internationalization and localization.
- ✏️ fixing typos.
- 💩 writing bad code that needs to be improved.
- ⏪ reverting changes.
- 🔀 merging branches.
- 📦 updating compiled files or packages.
- 👽 updating code due to external api changes.
- 🚚 moving or renaming files.
- 📄 adding or updating license.
- 💥 introducing breaking changes.
- 🍱 adding or updating assets.
- 👌 updating code due to code review changes.
- ♿️ improving accessibility.
- 💡 documenting source code.
- 🍻 writing code drunkenly.
- 💬 updating text and literals.
- 🗃 performing database related changes.
- 🔊 adding logs.
- 🔇 removing logs.
- 👥 adding contributor(s).
- 🚸 improving user experience / usability.
- 🏗 making architectural changes.
- 📱 working on responsive design.
- 🤡 mocking things.
- 🥚 adding an easter egg.
- 🙈 adding or updating a .gitignore file
- 📸 adding or updating snapshots
- ⚗ experimenting new things
- 🔍 improving seo
- ☸️ work about kubernetes
- 🏷️ adding or updating types (flow, typescript)
CLI
1npm i -g gitmoji-cli
Referências
- https://gitmoji.carloscuesta.me/
- https://gist.github.com/parmentf/035de27d6ed1dce0b36a
- https://stackoverflow.com/questions/21998728/how-to-specify-a-git-commit-message-template-for-a-repository-in-a-file-at-a-rel
- https://github.com/stormslowly/git-emoji-commit-message-template/blob/master/emoji.git.commit.message.txt
- https://hackernoon.com/using-github-as-a-team-the-holy-grail-of-commit-messages-f5b10c925d62