Skip to content

Commit d6848c9

Browse files
committed
Accept suggestions from #354 by @networm
1 parent 8a27631 commit d6848c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ image::images/remote-branches-2.png[本地与远程的工作可以分叉。]
4242
.`git fetch` 更新你的远程仓库引用
4343
image::images/remote-branches-3.png[`git fetch` 更新你的远程仓库引用。]
4444

45-
为了演示有多个远程仓库与远程分支的情况,我们假定你有一个内部 Git 服务器,仅服务于你的某个 sprint 团队。
45+
为了演示有多个远程仓库与远程分支的情况,我们假定你有另一个内部 Git 服务器,仅服务于你的某个 sprint 团队。
4646
这个服务器位于 `git.team1.ourcompany.com`。
4747
你可以运行 `git remote add` 命令添加一个新的远程仓库引用到当前的项目,这个命令我们会在 <<ch02-git-basics#ch02-git-basics>> 中详细说明。
4848
将这个远程仓库命名为 `teamone`,将其作为完整 URL 的缩写。
@@ -51,7 +51,7 @@ image::images/remote-branches-3.png[`git fetch` 更新你的远程仓库引用
5151
image::images/remote-branches-4.png[添加另一个远程仓库。]
5252

5353
现在,可以运行 `git fetch teamone` 来抓取远程仓库 `teamone` 有而本地没有的数据。
54-
因为那台服务器上现有的数据是 `origin` 服务器上的一个子集,所以 Git 抓取不到新数据但是会设置远程跟踪分支 `teamone/master` 指向 `teamone` 的 `master` 分支。
54+
因为那台服务器上现有的数据是 `origin` 服务器上的一个子集,所以 Git 并不会抓取数据而是会设置远程跟踪分支 `teamone/master` 指向 `teamone` 的 `master` 分支。
5555

5656
.远程跟踪分支 `teamone/master`
5757
image::images/remote-branches-5.png[远程跟踪分支 `teamone/master`。]

0 commit comments

Comments
 (0)