- feat:新增功能
例:feat: add user login API
- fix:修复 bug
例:fix: handle null pointer in parser
- refactor:重构代码,但不新增功能,也不修 bug
例:refactor: simplify cache update logic
- docs:只改文档
例:docs: update README
- style:只改格式,不影响逻辑
比如空格、缩进、分号、换行
例:style: format source files
- test:新增或修改测试
例:test: add unit tests for index_put
- chore:杂项改动,通常是不影响业务逻辑的维护性工作
比如改构建脚本、依赖版本、工具配置
例:chore: bump cmake version
- perf:性能优化
例:perf: reduce global memory accesses
- build:构建系统或依赖相关改动
例:build: update bazel rules
- ci:CI/CD 配置改动
例:ci: fix github actions workflow
- revert:回滚之前的提交
例:revert: revert "feat: add fp16 kernel"