Skip to content

Commit 86ea576

Browse files
committed
docs: update README.md about branch
1 parent 8db8b21 commit 86ea576

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This repo contains the source code and documentation powering [reactjs.org](http
88

99
1. 挑选你想要翻译或校对的文章 [New Chinese Website: TODOs](https://github.com/reactjs/zh-hans.reactjs.org/issues/4)
1010
2. 请 fork 这个仓库
11-
3. 基于 fork 后的仓库中 cn 分支拉取一个新的分支(名字自取)
11+
3. 基于 fork 后的仓库中 master 分支拉取一个新的分支(名字自取)
1212
4. 翻译(校对)你所选择的文章,提交到新的分支
1313
5. 此时提交 Pull Request 到该仓库
1414
6. 会有专人 Review 该 Pull Request,当两人以上通过该 Pull Request 时,你的翻译将被合并到仓库中
@@ -27,13 +27,13 @@ This repo contains the source code and documentation powering [reactjs.org](http
2727
2. 同步 git fetch 上游代码
2828

2929
```
30-
$ git checkout cn && git fetch upstream
30+
$ git checkout master && git fetch upstream
3131
```
3232

33-
3. 将上游代码合并至你 fork 后的仓库(cn 分支)中,保证你的 cn 分支永远是最新版本
33+
3. 将上游代码合并至你 fork 后的仓库(master 分支)中,保证你的 master 分支永远是最新版本
3434

3535
```
36-
$ git merge upstream/cn
36+
$ git merge upstream/master
3737
```
3838

3939
4. 重复翻译流程
@@ -60,7 +60,7 @@ This repo contains the source code and documentation powering [reactjs.org](http
6060

6161
1. Choose the article you want to translate or proofread [New Chinese Website: TODOs](https://github.com/reactjs/zh-hans.reactjs.org/issues/4)
6262
2. Please fork this repo
63-
3. In the repo after fork, create a new branch (custom branch name) based on the cn branch.
63+
3. In the repo after fork, create a new branch (custom branch name) based on the master branch.
6464
4. Translation or proofread article, and commit your branch
6565
5. Commit your PR to this repo
6666
6. Please wait for Review.
@@ -80,10 +80,10 @@ This repo contains the source code and documentation powering [reactjs.org](http
8080
```
8181
$ git fetch upstream
8282
```
83-
3. Merge upstream/cn to your repo/cn
83+
3. Merge upstream/master to your repo/master
8484

8585
```
86-
$ git checkout cn && git merge upstream/cn
86+
$ git checkout master && git merge upstream/master
8787
```
8888
4. Re-execute the translation process
8989

0 commit comments

Comments
 (0)