From 7ad8663f45f2995a12099aa7ea91de551325bad3 Mon Sep 17 00:00:00 2001 From: curiositer <34828878+curiositer@users.noreply.github.com> Date: Mon, 3 Jun 2019 22:14:25 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BF=BB=E8=AF=91=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 我又来了。 文章原文是: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 /. 同样认为翻译有两处不妥: 1. 从波折号开始,一直到句号,虽然说有的地方并没有转折词,但是都是列出来了跟踪其他分支的可能性,所以都是翻译成或是,又或是。 2. The simple case is the example you just saw,原翻译为:最简单的就是之前看到的例子。但是根据上下文感觉不是很通顺,中间有两个词都可以翻译为例子。经过上下文的多次考量,决定修改为:最简单的实例就是像之前看到的那样。 --- book/03-git-branching/sections/remote-branches.asc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/book/03-git-branching/sections/remote-branches.asc b/book/03-git-branching/sections/remote-branches.asc index 103a2b6f..8bdd9109 100644 --- a/book/03-git-branching/sections/remote-branches.asc +++ b/book/03-git-branching/sections/remote-branches.asc @@ -135,8 +135,8 @@ Switched to a new branch 'serverfix' 如果在一个跟踪分支上输入 `git pull`,Git 能自动地识别去哪个服务器上抓取、合并到哪个分支。 当克隆一个仓库时,它通常会自动地创建一个跟踪 `origin/master` 的 `master` 分支。 -然而,如果你愿意的话可以设置其他的跟踪分支 - 其他远程仓库上的跟踪分支,或者不跟踪 `master` 分支。 -最简单的就是之前看到的例子,运行 `git checkout -b [branch] [remotename]/[branch]`。 +然而,如果你愿意的话可以设置其他的跟踪分支,或是一个在其他远程仓库上的跟踪分支,又或者不跟踪 `master` 分支。 +最简单的实例就是像之前看到的那样,运行 `git checkout -b [branch] [remotename]/[branch]`。 这是一个十分常用的操作所以 Git 提供了 `--track` 快捷方式: [source,console]