Git commit 的规范


|--------|------------------|-----------------------------------------| | code | 英文 | 中文|

featA new feature新增功能
fixA bug fix修复 bug
docsDocumentation only changes文档变更
-------------------------------------------------------------------
styleChanges that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)代码格式(不影响功能,例如空格、分号等格式修正)
-------------------------------------------------------------------
refactorA code change that neither fixes a bug nor adds a feature代码重构(不包括 bug 修复、功能新增)
-------------------------------------------------------------------
perfA code change that improves performance性能优化
-------------------------------------------------------------------
testAdding missing tests or correcting existing tests
-------------------------------------------------------------------
buildChanges that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
-------------------------------------------------------------------
ciChanges to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
-------------------------------------------------------------------
choreOther changes that don't modify src or test files其他修改, 比如构建流程, 依赖管理、版本好修正
-------------------------------------------------------------------
revertReverts a previous commit
-------------------------------------------------------------------