git学习总结之commit分类

最新更新时间: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)

回滚

参考资料

感谢阅读,欢迎评论^-^

打赏我吧^-^

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值