git 提交代码规范

70 阅读1分钟

git 提交代码规范

  1. feat: 新功能 (feature)
  2. fix: 修补bug
  3. docs: 文档 (documentation)
  4. style: 格式(不影响代码运行的变动)
  5. refactor:重构(即不是新增功能,也不是修改bug的代码的变动)
  6. test: 增加测试
  7. chore 构建过程或辅助工具的变动
  8. 例如 git commit -m'fix:修复微信相关的设置问题'