My personal style guide for writing GitHub commit messages. More specifially, the prefixes. Prefixes should be written in the following format:
<prefix>: <message> (<reference>)
prefix
should be either an emoji OR it's name, not both. message
is, of course, your commit message followed by reference
, which is your issue or pull request reference (if applicable).
β¨ This is a Work in Progress! β¨
No. | Emoji | Names | Example |
---|---|---|---|
01 | β¨ | update , feat |
β¨: add docstrings and type hinting |
02 | π¨ | fix , bug |
π¨: fix broken control header (#4) |
03 | π οΈ | patch |
π οΈ: update token signing method for HTTP requests (#12) |
οΈοΈ04 | π | merge |
π: merge pull request from user/patch-1 |
05 | β¬οΈ | bump , upgrade |
β¬οΈ: bump highlight.js from 1.1.2 to 1.2.0 |
06 | π | security |
π: move exposed API key to .env file |
07 | π·οΈ | label , tag |
π·οΈ: release v0.1.1 , π·οΈ: v1.0.2 |
08 | π | legal , markdown |
π: update contributing guide |
09 | π | docs |
π: update docs to cover 0.5.0 endpoints |
10 | ποΈ | restructure , rework |
ποΈ: redesign port forwarding implementation |
11 | π | beautify , code style |
π: apply code styling to lib |
12 | π¦ | package , packager |
π¦: update package.json and npm scripts |
13 | βοΈ | legal , license |
βοΈ: add GNU GPL v3 license βοΈ: update license year |