-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.gitmessage
More file actions
28 lines (27 loc) · 1.14 KB
/
Copy path.gitmessage
File metadata and controls
28 lines (27 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# <type类型>(<scope提交代码影响范围>): <subject主题,概括提交的内容>
#
# <body>用于详细描述本次变更的内容
#
# <footer>提供解决问题的文章地址或者测试的链接地址
# 例如: closes #id fix #id
#
# <type类型>
# build: 构建工具生成资源
# feat: 新功能
# fix : 修补bug
# docs: 文档
# style: 不影响代码含义的变化(空白,格式化,缺少分号等)
# refactor: 代码更改,既不修复错误也不添加功能
# test: 添加缺失测试或更正现有测试
# perf: 改进性能的代码更改
# chore: 构建过程或辅助工具的变动(范围:gulp,webpack,npm)
# ci: 更改我们的持续集成文件和脚本(范围:Jenkins Travis)
#
# <scope提交代码影响范围。如果存在多个用、分割>
# ops、h5、(api|apiApp)、mhome、library、config(配置修改)、scripts、b2b、shop、apiClock、apiDocs、
#
# https://segmentfault.com/a/1190000004282514
# https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#-git-commit-guidelines
# https://www.phodal.com/blog/how-to-write-a-better-git-commit-message/
#
#