Skip to content

Commit 2b40097

Browse files
committed
Add guide on how to participate the project
1 parent 0e65e07 commit 2b40097

File tree

1 file changed

+28
-3
lines changed

1 file changed

+28
-3
lines changed

README.md

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Docker —— 从入门到实践
22
===============
33

4-
v0.1.10
4+
v0.2.0
55

66
[Docker](docker.com)是个伟大的项目,它让虚拟化变得前所未有的高效和轻松,彻底释放了虚拟化的威力!
77

@@ -14,8 +14,33 @@ v0.1.10
1414

1515
维护本书的Github项目: [https://github.com/yeasy/docker_practice](https://github
1616
.com/yeasy/docker_practice)。
17-
欢迎大家参与,提交pull request
17+
欢迎大家参与。
1818

1919
另外,欢迎大家加入Docker QQ群(341410255)一起交流学习,共同提高。
2020

21-
本书发布时,docker的最新版本为1.20。
21+
本书发布时,Docker的最新版本为1.20。
22+
23+
## 参加步骤
24+
* 在GitHub上fork到自己的仓库,如docker_user/docker_practice,然后clone到本地,并设置用户信息。
25+
```
26+
$ git clone [email protected]:docker_user/docker_practice.git
27+
$ cd docker_practice
28+
$ git config user.name "Docker User"
29+
$ git config user.email [email protected]
30+
```
31+
* 修改代码后提交,并推送到自己的仓库。
32+
```
33+
$ #do some change on the content
34+
$ git commit -am "Fix issue #1: change helo to hello"
35+
$ git push
36+
```
37+
* 在GitHub网站上提交pull request。
38+
* 定期使用项目仓库内容更新自己仓库内容。
39+
```
40+
$ git remote add upstream github.com/yeasy/docker_practice
41+
$ git fetch upstream
42+
$ git checkout master
43+
$ git rebase upstream/master
44+
$ git push -f origin master
45+
```
46+

0 commit comments

Comments
 (0)