Skip to content

Commit 0775802

Browse files
authored
Update CONTRIBUTION.md
1 parent 4af30e2 commit 0775802

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CONTRIBUTION.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,23 @@
77

88
### PR方式贡献代码步骤
99
* 在 GitHub 上 `fork` 到自己的仓库,如 `my_user/weixin-java-tools`,然后 `clone` 到本地,并设置用户信息。
10+
1011
```bash
1112
$ git clone [email protected]:my_user/weixin-java-tools.git
1213
$ cd weixin-java-tools
1314
$ git config user.name "yourname"
1415
$ git config user.email "your email"
1516
```
1617
* 修改代码后提交,并推送到自己的仓库。
18+
1719
```bash
1820
$ #do some change on the content
1921
$ git commit -am "Fix issue #1: change something"
2022
$ git push
2123
```
2224
* 在 GitHub 网站上提交 Pull Request。
2325
* 定期使用项目仓库内容更新自己仓库内容。
26+
2427
```bash
2528
$ git remote add upstream https://github.com/wechat-group/weixin-java-tools
2629
$ git fetch upstream

0 commit comments

Comments
 (0)