ce4c83ff
wxy
初始提交
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
# Contributing
我们提倡您通过提 issue 和 pull request 方式来促进 we-cropper 的发展。
```bash
# step 01
git clone https://github.com/we-plugin/we-cropper.git
# step 02
npm install
#step 03
npm run dev
```
欢迎任意形式的贡献
## Issue 提交
#### 对于贡献者
在提 issue 前请确保满足一下条件:
- 必须是一个 bug 或者功能新增。
- 必须是 we-cropper 相关问题。
- 已经在 issue 中搜索过,并且没有找到相似的 issue 或者解决方案。
如果已经满足以上条件,我们提供了 issue 的标准模版,请按照模板填写。
## Pull request
我们除了希望听到您的反馈和建议外,我们也希望您接受代码形式的直接帮助,对我们的 GitHub 发出 pull request 请求。
以下是具体步骤:
#### Fork仓库
点击 `Fork` 按钮,将需要参与的项目仓库 fork 到自己的 Github 中。
#### Clone 已 fork 项目
在自己的 github 中,找到 fork 下来的项目,git clone 到本地。
```bash
$ git clone git@github.com:<yourname>/we-cropper.git
```
#### 添加 we-cropper 仓库
将 fork 源仓库连接到本地仓库:
```bash
$ git remote add <name> <url>
# 例如:
$ git remote add we-copper https://github.com/we-plugin/we-cropper.git
```
#### 保持与 we-cropper 仓库的同步
更新上游仓库:
```bash
$ git pull --rebase <name> <branch>
# 等同于以下两条命令
$ git fetch <name> <branch>
$ git rebase <name>/<branch>
```
#### commit 信息提交
commit 信息请遵循[commit消息约定](./CONTRIBUTING_COMMIT.md),以便可以自动生成 `CHANGELOG` 。具体格式请参考 commit 文档规范。
#### Thanks
@夏左左
|