Skip to content

Commit a1a5d7c

Browse files
authored
Update README.md
1 parent 69c179f commit a1a5d7c

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

README.md

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -78,35 +78,3 @@ compile 'com.github.binarywang:weixin-java-cp:2.4.0'
7878
1. https://github.com/wechat-group/weixin-java-mp-multi-demo (支持多公众号)
7979
1. https://github.com/wechat-group/weixin-java-tools-springmvc
8080
1. https://github.com/wechat-group/weixin-java-mp-demo-springboot
81-
82-
83-
===========
84-
## 关于代码贡献
85-
1. 非常欢迎和感谢对本项目发起Pull Request的同学,本项目代码风格为使用2个空格代表一个Tab,因此在提交代码时请注意一下,否则很容易在IDE格式化代码后与原代码产生大量diff,这样会给其他人阅读代码带来极大的困扰。为了便于设置,本项目引入editorconfig插件,请使用eclipse的同学在贡献代码前安装相关插件,IntelliJ IDEA新版本自带支持,如果没有可自行安装插件。
86-
1. 本项目可以采用两种方式接受代码贡献:
87-
* 第一种就是基于[Git Flow](https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow)开发流程,因此在发起Pull Request的时候请选择develop分支,详细步骤参考后文。
88-
* 另外一种贡献代码的方式就是加入SDK Developers开发组,前提是对自己的代码足够自信就可以申请加入,加入之后可以随时直接提交代码,但要注意对所做的修改或新增的代码进行单元测试,保证提交代码没有明显问题,具体加入方式,请咨询QQ群管理员[![点击这里给我发消息](http://wpa.qq.com/pa?p=2:1211415707:51)](http://wpa.qq.com/msgrd?v=3&uin=1211415707&site=qq&menu=yes)
89-
90-
## PR方式贡献代码步骤
91-
* 在 GitHub 上 `fork` 到自己的仓库,如 `my_user/weixin-java-tools`,然后 `clone` 到本地,并设置用户信息。
92-
```bash
93-
$ git clone [email protected]:my_user/weixin-java-tools.git
94-
$ cd weixin-java-tools
95-
$ git config user.name "yourname"
96-
$ git config user.email "your email"
97-
```
98-
* 修改代码后提交,并推送到自己的仓库。
99-
```bash
100-
$ #do some change on the content
101-
$ git commit -am "Fix issue #1: change something"
102-
$ git push
103-
```
104-
* 在 GitHub 网站上提交 Pull Request。
105-
* 定期使用项目仓库内容更新自己仓库内容。
106-
```bash
107-
$ git remote add upstream https://github.com/wechat-group/weixin-java-tools
108-
$ git fetch upstream
109-
$ git checkout develop
110-
$ git rebase upstream/develop
111-
$ git push -f origin develop
112-
```

0 commit comments

Comments
 (0)