Commit Message Format
The <type>
and <summary>
fields are mandatory, the (<scope>)
field is optional.
Type
Must be one of the following:
- build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
- ci: Changes to our CI configuration files and scripts (examples: CircleCi, SauceLabs)
- docs: Documentation only changes
- feat: A new feature
- fix: A bug fix
- perf: A code change that improves performance
- refactor: A code change that neither fixes a bug nor adds a feature
- test: Adding missing tests or correcting existing tests
- deps: change dependency
- style: code style
- chore: 日常工作,如文档修改,示例等
- break: break change
Scope
提交的代码修改的代码文件范围
Summary
用简短的话语清晰的描述提交的代码做了什么事