-
-
Notifications
You must be signed in to change notification settings - Fork 134
/
CONTRIBUTING.md
37 lines (22 loc) · 959 Bytes
/
CONTRIBUTING.md
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
# 贡献导引
请严格按照以下步骤操作,如有任何问题,请提出 [issue](https://github.com/khs1994-docker/lnmp/issues/new)
* 在 [GitHub](https://github.com/khs1994-docker/lnmp/fork) 上点击 `fork` 按钮将本仓库 fork 到自己的仓库,如 `yourname/lnmp`,然后 `clone` 到本地。
```bash
$ git clone -b 23.11 git@github.com:yourname/lnmp.git
$ cd lnmp
# 将项目与上游关联
$ git remote add upstream git@github.com:khs1994-docker/lnmp.git
```
* 增加内容或者修复错误后提交,并推送到自己的仓库。
```bash
$ git add .
$ git commit -a "Fix issue #1: change helo to hello"
$ git push origin 23.11
```
* 在 [GitHub](https://github.com/khs1994-docker/lnmp) 上提交 `Pull request`,注意请提交到 YY.MM(例如: `23.11`) 分支。
* 请定期更新自己仓库。
```bash
$ git fetch upstream
$ git rebase upstream/23.11
$ git push -f origin 23.11
```