工具学习·

Commit规范学习记录

简要整理约定式提交规范,并用 docs、style 两类示例说明文档修改与纯样式调整时的提交信息写法。

字数
308
阅读
约 1 分钟
更新
2024.09.30
Commit规范学习记录的文章首图
文章目录

参考

https://www.conventionalcommits.org/zh-hans/v1.0.0/#约定式提交规范

https://cheatsheets.zip/conventional-commits

自己的例子

docs

用于修改文档,例如修改 README 文件、API 文档等

Changes in documentation only

1
docs: update setup section of README

style

用于修改代码的样式,例如调整缩进、空格、空行等

Code changes that do not impact the functionality

1
style(login): correct indentation in login component

留言

留言正在载入…

搜文章