Skip to content

Commit 7ad8663

Browse files
curiositernetworm
authored andcommitted
翻译修正
我又来了。 文章原文是:However, you can set up other tracking branches if you wish — ones that track branches on other remotes, or don’t track the master branch. The simple case is the example you just saw, running git checkout -b <branch> <remote>/<branch>. 同样认为翻译有两处不妥: 1. 从波折号开始,一直到句号,虽然说有的地方并没有转折词,但是都是列出来了跟踪其他分支的可能性,所以都是翻译成或是,又或是。 2. The simple case is the example you just saw,原翻译为:最简单的就是之前看到的例子。但是根据上下文感觉不是很通顺,中间有两个词都可以翻译为例子。经过上下文的多次考量,决定修改为:最简单的实例就是像之前看到的那样。
1 parent e3ea6f0 commit 7ad8663

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/03-git-branching/sections/remote-branches.asc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ Switched to a new branch 'serverfix'
135135
如果在一个跟踪分支上输入 `git pull`,Git 能自动地识别去哪个服务器上抓取、合并到哪个分支。
136136

137137
当克隆一个仓库时,它通常会自动地创建一个跟踪 `origin/master` 的 `master` 分支。
138-
然而,如果你愿意的话可以设置其他的跟踪分支 - 其他远程仓库上的跟踪分支,或者不跟踪 `master` 分支。
139-
最简单的就是之前看到的例子,运行 `git checkout -b [branch] [remotename]/[branch]`。
138+
然而,如果你愿意的话可以设置其他的跟踪分支,或是一个在其他远程仓库上的跟踪分支,又或者不跟踪 `master` 分支。
139+
最简单的实例就是像之前看到的那样,运行 `git checkout -b [branch] [remotename]/[branch]`。
140140
这是一个十分常用的操作所以 Git 提供了 `--track` 快捷方式:
141141

142142
[source,console]

0 commit comments

Comments
 (0)