This is an automated email from the ASF dual-hosted git repository. zhaoc pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-doris-website.git
commit 0d6845777844f55e4c24ae305b13fd117f7d05e4 Author: lide <l...@baidu.com> AuthorDate: Fri Nov 9 15:28:34 2018 +0800 add how-to-write commit message --- pages/policy/pull-request.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pages/policy/pull-request.md b/pages/policy/pull-request.md index 41e1013..e2d5818 100644 --- a/pages/policy/pull-request.md +++ b/pages/policy/pull-request.md @@ -74,9 +74,19 @@ status=published  -#### (3)填写 comment +#### (3)填写 Commit Message 这里请填写 comment 的总结和详细内容,然后点击 `Create pull request` 进行创建。 +关于如何写 Commit Message,下面列出了一些 Tips: + +* 请用英文 动词 + 宾语 的形式,动词不用过去式,语句用祈使句; +* 消息主题(Subject)和具体内容(Body)都要写,它们之间要有空行分割(GitHub PR界面上分别填写即可)。 +* 消息主题长度不要超过**50**个字符; +* 消息内容每行不要超过 72 个字符,超过的需要手动换行; +* 消息内容用于解释做了什么、为什么做以及怎么做的。 + +更详细的内容请参考 <https://chris.beams.io/posts/git-commit> +  #### (4)完成创建 --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org