update: doc

This commit is contained in:
sanfan.hx
2019-07-29 16:49:04 +08:00
parent 78b8fd300a
commit 19e4fd5c35
4 changed files with 41 additions and 4 deletions

View File

@ -1 +0,0 @@
this is pull requeset template

View File

@ -5,9 +5,14 @@
此项目遵循[贡献者行为准则](https://github.com/spring-projects/spring-framework/blob/master/CODE_OF_CONDUCT.adoc)。参与此项目即表示您同意遵守其条款.
# 如何提PR
PR的第一步就是提交issue即提交你发现的BUG
您的 Pull Request 可能包含以下几种
- 项目逻辑代码的问题修复或者优化
- 当前项目逻辑代码的问题修复或者优化
- widget 示例的完善
- widget 文档的完善与更新

35
docs/push-pr.md Normal file
View File

@ -0,0 +1,35 @@
# 如何为一个项目提PR
## PR 的含义
PR的全称是 **pull request**, 可以理解成. 让开源项目拉取合并他方的请求.
## pull request
1. 将 开源flutter go项目 fork到我们自己的仓库.
![如何fock项目](https://img.alicdn.com/tfs/TB1XbnDbQH0gK0jSZPiXXavapXa-1425-672.gif)
2. 将Fork的仓库 clone 到本地,进行本地修改.
3. 将改动push到自己的仓库中
```
git add {some change file}
git commit ...
git push origin {your branch}
```
4. 登陆github, 从**自己的仓库**向**开源项目仓库** 发起 **pull request** (合并申请);
过程参考:
![如何提pr](https://img.alicdn.com/tfs/TB1zV_BbKL2gK0jSZPhXXahvXXa-1425-672.gif)
5. 开源项目维护者会review您的 **pull request**,展开讨论或者修改, 一旦通过审核,开源项目维护者合并该分支到正式仓库然后并关闭合并申请。

View File

@ -51,7 +51,6 @@ dependencies:
open_file: ^2.0.1+2
package_info: ^0.4.0+3
flutter_jpush: ^0.0.4
dev_dependencies:
flutter_test:
@ -59,7 +58,6 @@ dev_dependencies:
# For information on the generic Dart part of this file, see the
# following page: https://www.dartlang.org/tools/pub/pubspec
# The following section is specific to Flutter.
flutter: