- All commits must be "SignOff", just use "commit -sm"
- Use imperative verbs ("Add feature" instead of "Adding feature" or "Added feature")
- First line must have a maximum of 72 characters
- Consider describing it in detail in the commit body
- Consider using an emoji at the beginning of the commit message
Emoji | Code | Commit Type |
---|---|---|
β¨ | :sparkles: |
New feature |
π | :tada: |
Initial commit |
π | :nail_care: |
Improve UI/UX |
π¨ | :art: |
Improve the structure/code format |
π | :racehorse: |
Improve performance |
π | :memo: |
Write documentation |
π | :bug: |
Fix bugs |
π₯ | :fire: |
Fix bugs in production (hotfix) |
π | :green_heart: |
Fix a CI build |
β | :white_check_mark: |
Add tests |
π | :lock: |
Improve security |
β¬οΈ | :arrow_up: |
Update dependencies |
β¬οΈ | :arrow_down: |
Downgrade dependencies |
π© | :poop: |
Deprecated |
π§ | :construction: |
Under construction |
π | :rocket: |
New version |
π | :see_no_evil: |
Work around (pt-br: "Gambiarra") |
π³ | :whale: |
Docker |
π | :ok_hand: |
Code review changes |
π¨ | :hammer: |
Refactor code |
π₯ | :boom: |
Conflict merge |
βοΈ | :scissors: |
Legacy code removal |
π | :milky_way: |
Add iamges/icons |
Other | Be creative |
git commit -sm ":memo: Add contribution instructions"
-m "The CONTRIBUTING.md file was created with instructions on how to make a good commit"
git commit -sm ":memo: Add contribution instructions"
-m "The CONTRIBUTING.md file was created with instructions on how to make a good commit"
-m "JIRA-123"