使用gitmoji规范git-commit
gitmoji
一种增强git提交信息表达的图标
官网 https://gitmoji.carloscuesta.me
官方介绍:An emoji guide for your commit messages
基本语法 :word:
将语法写入commit任意位置,即可生成对应icon
icon | word e.g. | explain |
---|---|---|
:recycle: | :recycle: |
Refactoring code. |
✨ | :sparkles: |
Introducing new features. |
:construction: | :construction: |
Work in progress. |
🐛 | :bug: |
Fixing a bug. |
🔨 | :hammer: |
Refactoring code. |
⬆️ | :arrow_up: |
Upgrading dependencies. |
⬇️ | :arrow_down: |
Downgrading dependencies. |
:twisted_rightwards_arrows: | :twisted_rightwards_arrows: |
Merging branches. |
:fire: | :fire: |
Removing code or files. |
:white_check_mark: | :white_check_mark: |
Adding tests. |
⚡ | :zap: |
Improving performance. |
:wrench: | :wrench: |
Changing configuration files. … |
:tada: | :tade: |
Initial commit. |
:art: | :art: |
Improving structure / format of the code. |