Skip to content

Translate 05-distributed-git distributed-workflows #117

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Aug 10, 2015

Conversation

leshiv
Copy link
Contributor

@leshiv leshiv commented Jun 19, 2015

v1版本的译者加了一些便于读者理解的个人注释,这里暂时没有保留。
请review,会及时修改,感谢!

同传统的集中式版本控制系统(CVCS)不同,Git 的分布式特性使得开发者间的协作变得更加灵活多样。
在集中式系统中,每个开发者就像是连接在集线器上的节点,彼此的工作方式大体相像。
而在 Git 中,每个开发者同时扮演着节点和集线器的角色——也就是说,每个开发者既可以将自己的代码贡献到其他的仓库中,也能同时维护自己的公有仓库,让其他人可以在其基础上工作并贡献代码。
由此,Git 的分布式协作可以为你的项目和团队衍生出种种不同的工作流程,接下来的章节会介绍几种常见的应用方式,它们都利用了 Git 这种灵活的特性。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

“它们都利用了 Git 的这种灵活性。”

@leshiv
Copy link
Contributor Author

leshiv commented Jul 6, 2015

@secondwtq 非常感谢review,已修改。 少部分有出入的地方见note。

@networm
Copy link
Member

networm commented Jul 11, 2015

注意一个问题,提交的 Pull Request 右上角显示的增加删除行数应是一致的。
需要保证英文原文是几行,中文就是几行,不可以随意多行或少行,要保证英文一行中对应的中文翻译都在一行。

@leshiv
Copy link
Contributor Author

leshiv commented Jul 13, 2015

@networm 已修正

@networm networm modified the milestone: v1.0.0 Jul 29, 2015
We'll go over the strengths and possible weaknesses of each design; you can choose a single one to use, or you can mix and match features from each.
同传统的集中式版本控制系统(CVCS)不同,Git 的分布式特性使得开发者间的协作变得更加灵活多样。
在集中式系统中,每个开发者就像是连接在集线器上的节点,彼此的工作方式大体相像。
而在 Git 中,每个开发者同时扮演着节点和集线器的角色——也就是说,每个开发者既可以将自己的代码贡献到其他的仓库中,也能同时维护自己的公有仓库,让其他人可以在其基础上工作并贡献代码。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

也能同时=》同时也能

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

破折号“——”

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

两个破折号是一样的:
破折号“——”
集线器的角色——也就是说

@IceNature
Copy link
Contributor

@leshiv 已完成

5. The maintainer adds the contributor's repo as a remote and merges locally.
6. The maintainer pushes merged changes to the main repository.
因为 Git 允许存在多个远程仓库,便使得每个开发者拥有自己仓库的写权限,以及其他所有人仓库的读权限的工作流成为可能。
这种情形下通常会有个代表``官方''项目的权威的仓库(blessed repository)。

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

blessed repository 在英文原文中并未体现?
canonical repository?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

blessed repository 是参考v1版对配图里文字的注释,先统一去掉了

@summershrimp
Copy link

建议将public repository译为 公开仓库 而不是 公共仓库

2. Lieutenants merge the developers' topic branches into their `master` branch.
3. The dictator merges the lieutenants' `master` branches into the dictator's `master` branch.
4. The dictator pushes their `master` to the reference repository so the other developers can rebase on it.
这其实是上一种工作流程的变种。

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

multiple-repository workflow -> 多仓库工作流?

@summershrimp
Copy link

@leshiv 已审校

@networm
Copy link
Member

networm commented Aug 8, 2015

@leshiv 请及时修正。

@leshiv
Copy link
Contributor Author

leshiv commented Aug 9, 2015

@IceNature @summershrimp 非常感谢review!大部分已参考建议修改,个别有异议地方见line note。

@leshiv
Copy link
Contributor Author

leshiv commented Aug 9, 2015

@networm 已根据三位reviewer的建议修正

networm added a commit that referenced this pull request Aug 10, 2015
Translate 05-distributed-git distributed-workflows
@networm networm merged commit 38d79ae into progit:master Aug 10, 2015
@networm
Copy link
Member

networm commented Aug 10, 2015

@leshiv 已合并入主干。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants