一、前言

二、Commit message编写

1.规范

2.用空行分开主题和正文

  • 提交时只执行 git commit,这时就会跳出文本编辑器,让你写多行。
git commit
  • 主题和正文分开
    每次提交,Commit message 都包括三个部分:Header,Body 和 Footer。

<type>(<scope>): <subject>
// 空一行
<body>
// 空一行
<footer>

三、参考资料

1.Commit message 和 Change log 编写指南
2.【译】怎么写Git Commit Message

相关文章:

  • 2022-12-23
  • 2021-11-28
  • 2022-12-23
  • 2021-06-14
  • 2021-07-30
  • 2021-11-26
  • 2021-11-07
  • 2021-07-19
猜你喜欢
  • 2021-06-06
  • 2022-12-23
  • 2022-02-07
  • 2022-01-14
  • 2021-07-31
相关资源
相似解决方案