You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by li...@apache.org on 2018/11/09 07:44:04 UTC

[incubator-doris-website] branch master updated: update how-to-write commit message

This is an automated email from the ASF dual-hosted git repository.

lide pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 2d020b1  update how-to-write commit message
2d020b1 is described below

commit 2d020b19f6ec216f03a7c176e7c1d6581d8aae2e
Author: lide <li...@baidu.com>
AuthorDate: Fri Nov 9 15:43:48 2018 +0800

    update how-to-write commit message
---
 pages/policy/pull-request.md | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/pages/policy/pull-request.md b/pages/policy/pull-request.md
index e2d5818..034b3f6 100644
--- a/pages/policy/pull-request.md
+++ b/pages/policy/pull-request.md
@@ -80,10 +80,12 @@ status=published
 关于如何写 Commit Message,下面列出了一些 Tips:
 
 * 请用英文 动词 + 宾语 的形式,动词不用过去式,语句用祈使句;
-* 消息主题(Subject)和具体内容(Body)都要写,它们之间要有空行分割(GitHub PR界面上分别填写即可)。
+* 消息主题(Subject)和具体内容(Body)都要写,它们之间要有空行分隔(GitHub PR界面上分别填写即可);
 * 消息主题长度不要超过**50**个字符;
-* 消息内容每行不要超过 72 个字符,超过的需要手动换行;
-* 消息内容用于解释做了什么、为什么做以及怎么做的。
+* 消息内容每行不要超过**72**个字符,超过的需要手动换行;
+* 消息内容用于解释做了什么、为什么做以及怎么做的;
+* 消息主题第一个字母要**大写**,句尾**不要**有句号;
+* 消息内容中写明关联的issue,例如 #233;
 
 更详细的内容请参考 <https://chris.beams.io/posts/git-commit>
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org