.gitmessage 774 B

123456789101112131415161718
  1. # <类型>(<范围>): <一句话祈使句,≤ 50 字>
  2. #
  3. # 为什么改(现场现象 / 需求 / 缺陷编号):
  4. #
  5. # 改了什么(关键文件 / 关键决策):
  6. #
  7. # 验证(跑过什么,结果如何;没跑的写"未验证"及原因):
  8. #
  9. # 关联:#issue / TP-xxx / 文档章节
  10. #
  11. # 类型:feat 新功能 | fix 修缺陷 | perf 性能 | refactor 重构 | test 测试
  12. # docs 文档 | build 构建/依赖 | chore 杂务 | revert 回滚
  13. # 范围:portcv | cpp | plc | deploy | configs | tests | scripts | docs
  14. #
  15. # 提交前自检:
  16. # python -m unittest discover -s tests -q # L1,229 项
  17. # ctest --test-dir build-cmake --output-on-failure # L2,8 组 1128 项
  18. # 模型/阈值变更另跑 scripts\video_eval.py # L3 回放