Skip to content

Commit 77e6271

Browse files
authored
Merge pull request #1138 from rpjday/ch5
chapter 5: semantic cleanup of first part of chapter 5
2 parents 73a294f + cd4b5e2 commit 77e6271

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

book/05-distributed-git/sections/distributed-workflows.asc

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
=== Distributed Workflows
22

33
(((workflows)))
4-
Unlike Centralized Version Control Systems (CVCSs), the distributed nature of Git allows you to be far more flexible in how developers collaborate on projects.
5-
In centralized systems, every developer is a node working more or less equally on a central hub.
6-
In Git, however, every developer is potentially both a node and a hub -- that is, every developer can both contribute code to other repositories and maintain a public repository on which others can base their work and which they can contribute to.
7-
This opens a vast range of workflow possibilities for your project and/or your team, so we'll cover a few common paradigms that take advantage of this flexibility.
4+
In contrast with Centralized Version Control Systems (CVCSs), the distributed nature of Git allows you to be far more flexible in how developers collaborate on projects.
5+
In centralized systems, every developer is a node working more or less equally with a central hub.
6+
In Git, however, every developer is potentially both a node and a hub; that is, every developer can both contribute code to other repositories and maintain a public repository on which others can base their work and which they can contribute to.
7+
This presents a vast range of workflow possibilities for your project and/or your team, so we'll cover a few common paradigms that take advantage of this flexibility.
88
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.
99

1010
==== Centralized Workflow
1111

1212
(((workflows, centralized)))
1313
In centralized systems, there is generally a single collaboration model -- the centralized workflow.
14-
One central hub, or _repository_, can accept code, and everyone synchronizes their work to it.
15-
A number of developers are nodes -- consumers of that hub -- and synchronize to that one place.
14+
One central hub, or _repository_, can accept code, and everyone synchronizes their work with it.
15+
A number of developers are nodes -- consumers of that hub -- and synchronize with that centralized location.
1616

1717
.Centralized workflow.
1818
image::images/centralized_workflow.png[Centralized workflow.]
@@ -23,6 +23,7 @@ This concept is as true in Git as it is in Subversion(((Subversion))) (or any CV
2323

2424
If you are already comfortable with a centralized workflow in your company or team, you can easily continue using that workflow with Git.
2525
Simply set up a single repository, and give everyone on your team push access; Git won't let users overwrite each other.
26+
2627
Say John and Jessica both start working at the same time.
2728
John finishes his change and pushes it to the server.
2829
Then Jessica tries to push her changes, but the server rejects them.

0 commit comments

Comments
 (0)