Created
August 13, 2018 13:35
-
-
Save gengxiankun/796ece7ccb16f3072a89e9517bd25538 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<type>(<scope>): <subject> | |
#type: | |
# 1. feat: 新功能 (feature) | |
# 2. fix: 修复bug | |
# 3. docs: 文档 (documentation) | |
# 4. style: 格式 (不影响代码运行的变动) | |
# 5. refactor: 重构 (即不是新增功能,也不是修改bug的代码变动) | |
# 6. test: 增加测试 | |
# 7. chore: 构建过程或者辅助工具的变动 | |
# | |
#scope: | |
# 用于说明commit影响的范围,比如数据层、控制层、视图层等等,视项目不同而不同。 | |
# | |
#subject: | |
# 是commit目的的简短描述,不超过50个字符。 | |
# 1. 已动词开头,使用第一人称现在时。 | |
# 2. 结尾不加句号 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment