新增提交信息规范文档,采用Angular规范格式
This commit is contained in:
17
global-git-commit-instructions.md
Normal file
17
global-git-commit-instructions.md
Normal file
@@ -0,0 +1,17 @@
|
||||
Create the commit messages in Simplified Chinese
|
||||
|
||||
为了方便追踪变更和生成 Changelog,使用 Angular 规范:
|
||||
格式: <type>(<scope>): <subject>
|
||||
- type:
|
||||
- feat: 新功能
|
||||
- fix: 修补bug
|
||||
- docs: 文档修改
|
||||
- feat: 增加新的特征
|
||||
- format: 不影响代码含义的修改,比如空格、格式化、缺失的分号、引入顺序变化等
|
||||
- pref: 提高性能的代码更改
|
||||
- refactor: 既不是修复bug也不是添加特征的代码重构
|
||||
- build: 对构建系统或者外部依赖项进行了修改
|
||||
- ci: 对CI配置文件或脚本进行了修改
|
||||
- test: 增加确实的测试或者矫正已存在的测试
|
||||
- scope: 影响范围(如 auth, ui, v1.0)
|
||||
- subject: 简短描述
|
||||
Reference in New Issue
Block a user