Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
| function red (text) { return colorize(text, 'red') } | |
| function green (text) { return colorize(text, 'green') } | |
| function yellow (text) { return colorize(text, 'yellow') } | |
| function blue (text) { return colorize(text, 'blue') } | |
| function magenta (text) { return colorize(text, 'magenta') } | |
| function cyan (text) { return colorize(text, 'cyan') } | |
| function gray (text) { return colorize(text, 'gray') } | |
| function colorize(text, color, style) { | |
| // color: 'red', 'green', 'blue'... (see below) |