File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1- # 关于代码贡献
1+ # 代码贡献指南
221 . 非常欢迎和感谢对本项目发起Pull Request的同学,本项目代码风格为使用2个空格代表一个Tab,因此在提交代码时请注意一下,否则很容易在IDE格式化代码后与原代码产生大量diff,这样会给其他人阅读代码带来极大的困扰。为了便于设置,本项目引入editorconfig插件,请使用eclipse的同学在贡献代码前安装相关插件,IntelliJ IDEA新版本自带支持,如果没有可自行安装插件。
331 . 本项目可以采用两种方式接受代码贡献:
44 * 第一种就是基于[ Git Flow] ( https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow ) 开发流程,因此在发起Pull Request的时候请选择develop分支,详细步骤参考后文。
99* 在 GitHub 上 ` fork ` 到自己的仓库,如 ` my_user/weixin-java-tools ` ,然后 ` clone ` 到本地,并设置用户信息。
1010
1111``` bash
12- $ git clone git@github.com:my_user/weixin-java-tools.git
13- $ cd weixin-java-tools
14- $ git config user.name " yourname"
15- $ git config user.email " your email"
12+ $ git clone git@github.com:my_user/weixin-java-tools.git
13+ $ cd weixin-java-tools
14+ $ git config user.name " yourname"
15+ $ git config user.email " your email"
1616```
1717* 修改代码后提交,并推送到自己的仓库。
1818
You can’t perform that action at this time.
0 commit comments