|
3 | 3 | (((workflows)))
|
4 | 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 | 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. |
| 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 | 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.
|
8 | 8 | 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.
|
9 | 9 |
|
10 | 10 | ==== Centralized Workflow
|
11 | 11 |
|
12 | 12 | (((workflows, centralized)))
|
13 |
| -In centralized systems, there is generally a single collaboration model – the centralized workflow. |
| 13 | +In centralized systems, there is generally a single collaboration model -- the centralized workflow. |
14 | 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. |
| 15 | +A number of developers are nodes -- consumers of that hub -- and synchronize to that one place. |
16 | 16 |
|
17 | 17 | .Centralized workflow.
|
18 | 18 | image::images/centralized_workflow.png[Centralized workflow.]
|
@@ -57,7 +57,7 @@ image::images/integration-manager.png[Integration-manager workflow.]
|
57 | 57 | (((forking)))
|
58 | 58 | This is a very common workflow with hub-based tools like GitHub or GitLab, where it's easy to fork a project and push your changes into your fork for everyone to see.
|
59 | 59 | One of the main advantages of this approach is that you can continue to work, and the maintainer of the main repository can pull in your changes at any time.
|
60 |
| -Contributors don't have to wait for the project to incorporate their changes – each party can work at their own pace. |
| 60 | +Contributors don't have to wait for the project to incorporate their changes -- each party can work at their own pace. |
61 | 61 |
|
62 | 62 | ==== Dictator and Lieutenants Workflow
|
63 | 63 |
|
|
0 commit comments