mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-10-15 18:55:13 +08:00
Update CONTRIBUTION.md
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
|
||||
### PR方式贡献代码步骤
|
||||
* 在 GitHub 上 `fork` 到自己的仓库,如 `my_user/weixin-java-tools`,然后 `clone` 到本地,并设置用户信息。
|
||||
|
||||
```bash
|
||||
$ git clone git@github.com:my_user/weixin-java-tools.git
|
||||
$ cd weixin-java-tools
|
||||
@@ -14,6 +15,7 @@
|
||||
$ git config user.email "your email"
|
||||
```
|
||||
* 修改代码后提交,并推送到自己的仓库。
|
||||
|
||||
```bash
|
||||
$ #do some change on the content
|
||||
$ git commit -am "Fix issue #1: change something"
|
||||
@@ -21,6 +23,7 @@ $ git push
|
||||
```
|
||||
* 在 GitHub 网站上提交 Pull Request。
|
||||
* 定期使用项目仓库内容更新自己仓库内容。
|
||||
|
||||
```bash
|
||||
$ git remote add upstream https://github.com/wechat-group/weixin-java-tools
|
||||
$ git fetch upstream
|
||||
|
Reference in New Issue
Block a user