From cc14818ffa517f034e98d35ed3287008fe404302 Mon Sep 17 00:00:00 2001 From: Baohua Yang Date: Thu, 30 Nov 2017 23:06:37 +0800 Subject: [PATCH] Add using issue --- .github/CONTRIBUTING.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 66df668..cab11bc 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -1,4 +1,5 @@ ## 如何贡献项目 +* 领取或创建新的 [Issue](https://github.com/yeasy/docker_practice/issues),如 [issue 235](https://github.com/yeasy/docker_practice/issues/235),添加自己为 Assignee。 * 在 [GitHub](https://github.com/yeasy/docker_practice/fork) 上 `fork` 到自己的仓库,如 `docker_user/docker_practice`,然后 `clone` 到本地,并设置用户信息。 @@ -9,15 +10,16 @@ $ git config user.email "your email" ``` -* 修改代码后提交,并推送到自己的仓库。 +* 修改代码后提交,并推送到自己的仓库,注意修改提交消息为对应 Issue 号和描述。 ```bash - $ #do some change on the content - $ git commit -am "Fix issue #1: change helo to hello" + $ # Update the content +  $ git commit -a -s +  $ # In commit msg dialog, add content like "Fix issue #235: describe ur change" $ git push ``` -* 在 [GitHub](https://github.com/yeasy/docker_practice/pulls) 上提交 Pull request,添加标签,并邀请维护者进行 Review。 +* 在 [GitHub](https://github.com/yeasy/docker_practice/pulls) 上提交 Pull Request,添加标签,并邀请维护者进行 Review。 * 定期使用项目仓库内容更新自己仓库内容。