最新更新时间:2021年05月08日15:24:18
《猛戳-查看我的博客地图-总有你意想不到的惊喜》
本文内容:git commit命令的信息分类
commit分类如下
- feat (A new feature)
新功能
- fix (A bug fix)
漏洞修复
- docs (Documentation only changes)
readme或者项目文档修改
- style (Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc))
代码格式(缩进、空格、分号)修改
- 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)
加入测试case或代码
- build (Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm))
构建和配置文件修改,webpack、gulp、npm、package.json
- ci (Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs))
持续集成
- chore (Other changes that don’t modify src or test files)
其他
- revert (Reverts a previous commit)
回滚
参考资料
感谢阅读,欢迎评论^-^