Skip to content

Commit 00b960e

Browse files
committed
feat:开发如何完善控件及PR
1 parent cfc4a51 commit 00b960e

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

PR规范.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
## 开发者如何参与完善控件
22
> 开发者可以选择只完善控件Demo示例,或者喜欢翻译的可以只完善控件文档,也可选择两者
33
4-
* 1. git clone https://github.com/efoxTeam/flutter-ui 拉取项目到本地
5-
* 2. 打开项目 flutter-ui/lib/config/index.dart,修改里面isPro变量为false,(目的加载本地文件)
6-
* 3. 完善控件的,如要完善Animate下的AnimationController控件,打开项目 flutter-ui/lib/widget/animate/animationcontroller/demo.dart,在此文件下构建您的demo运行即可看到效果
7-
* 4. 完善控件文档的,您可打开flutter-ui/docs/widget/animate/animationcontroller/index.md,构建AnimationController控件的说明文档,该文档包括但不限于(控件介绍,控件构造方法,控件属性介绍)
8-
* 5. 最后将您的代码提Pull request到test分支,我们会定期merge发版
4+
* git clone https://github.com/efoxTeam/flutter-ui 拉取项目到本地
5+
* 打开项目 flutter-ui/lib/config/index.dart,修改里面isPro变量为false,(目的加载本地文件)
6+
* 完善控件的,如要完善Animate下的AnimationController控件,打开项目 flutter-ui/lib/widget/animate/animationcontroller/demo.dart,在此文件下构建您的demo运行即可看到效果
7+
* 完善控件文档的,您可打开flutter-ui/docs/widget/animate/animationcontroller/index.md,构建AnimationController控件的说明文档,该文档包括但不限于(控件介绍,控件构造方法,控件属性介绍)
8+
* 最后将您的代码提Pull request到test分支,我们会定期merge发版
99

1010
## PR规范
1111
1. 确保一个PR只做一个issues或一个组件分享,或一个特殊的主题分享等,即命题唯一
@@ -41,18 +41,18 @@
4141
* fork项目到自己仓库
4242
* git clone (您的仓库地址)到本地
4343
* 建立上游连接
44-
git remote add upstream https://github.com/efoxTeam/flutter-ui
44+
* git remote add upstream https://github.com/efoxTeam/flutter-ui
4545
* 创建开发分支(非必须)
46-
git checkout -b test
46+
* git checkout -b test
4747
* 修改提交代码
48-
git status
49-
git add .
50-
git commit -m 'feat: 增加了什么什么什么'
51-
git push origin test
48+
* git status
49+
* git add .
50+
* git commit -m 'feat: 增加了什么什么什么'
51+
* git push origin test
5252
* 同步代码
53-
git fetch upstream
54-
git merge upstream/test
55-
git push origin test
53+
* git fetch upstream
54+
* git merge upstream/test
55+
* git push origin test
5656
* 提交PR
57-
到自己github仓库对应fork的项目下new pull request
57+
* 到自己github仓库对应fork的项目下new pull request
5858

0 commit comments

Comments
 (0)