git commit message type标识
2020-05-28 本文已影响0人
NullUser
git提交代码时,在commit message开头注明此次commit的类别。
格式化的commit message格式为
<type>(<scope>): <subject>
type类别如下:
- feat:新功能(feature)
- fix:修补bug
- docs:文档(documentation)
- style: 格式(不影响代码运行的变动)
- refactor:重构(即不是新增功能,也不是修改bug的代码变动)
- test:增加测试
- chore:构建过程或辅助工具的变动