13. GDA的发展方向

13.1. 提交消息

从一小行开始,最好少于50个字符,以总结更改。在此之后加上一行空行,然后是更详细的描述。

下面是一个例子:

SUBSYSTEM: Short (50 chars or less) summary of changes

More detailed explanatory text, if necessary.  Wrap it to about 72
characters or so.  In some contexts, the first line is treated as the
subject of an email and the rest of the text as the body.  The blank
line separating the summary from the body is critical (unless you omit
the body entirely); tools like rebase can get confused if you run the
two together.

Write your commit message in the present tense: "Fix bug" and not "Fixed
bug."  This convention matches up with commit messages generated by
commands like git merge and git revert.

Further paragraphs come after blank lines.

- Bullet points are okay, too

- Typically a hyphen or asterisk is used for the bullet, preceded by a
 single space, with blank lines in between, but conventions vary here

- Use a hanging indent

示例 SUBSYSTEM

  • CORE -网站上发布的代码

  • DLS -钻石专用代码

  • CONFIG -配置

以下链接提供有关编写良好提交消息的建议: