aboutsummaryrefslogtreecommitdiffstats
path: root/using-git.texinfo
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-08-15 04:01:39 +0200
committerMattias Andrée <maandree@operamail.com>2013-08-15 04:01:39 +0200
commitb54d7e633e6932e4fa8a714a8f1b210d4a0cf695 (patch)
tree4b7ce8afcf5881a4f08ee6d7f0898457ffe6a338 /using-git.texinfo
parentrewrap (diff)
downloadusing-git-b54d7e633e6932e4fa8a714a8f1b210d4a0cf695.tar.gz
using-git-b54d7e633e6932e4fa8a714a8f1b210d4a0cf695.tar.bz2
using-git-b54d7e633e6932e4fa8a714a8f1b210d4a0cf695.tar.xz
it is distributed
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'using-git.texinfo')
-rw-r--r--using-git.texinfo63
1 files changed, 63 insertions, 0 deletions
diff --git a/using-git.texinfo b/using-git.texinfo
index 91789c8..1875bfe 100644
--- a/using-git.texinfo
+++ b/using-git.texinfo
@@ -174,6 +174,7 @@ updates others have made, use the command
@menu
* What is Git?::
+* It is distributed::
@end menu
@@ -207,6 +208,68 @@ the version the user used.
+@node It is distributed
+@section It is distributed
+
+Traditionally, version control systems
+were centralised. Every project has one
+repository all contributers pushed and
+pulled from. Git is distributed, this
+means that contributers clone the
+respositor and words on that clone
+instead of ``checking out'' the current
+tip of the source code. This actually
+means that there are multiple backups
+of the respository is recovering a
+crash or corruption will be a breeze.
+
+It is a popular misconception that
+distributed systems are not suited for
+projects that requires an official
+central repository. This is far from
+true; projects have a central blessed
+repository, possibly with mirrors.
+
+A blessed repository, refered to as
+the upstream, is the projects official
+respository. Its maintained by a select
+few with input from submitted updates.
+But the upstream can also be a shared
+repository, this is the classical
+Subversion-style workflow, where everyone
+pulls from and pushes to. Git does not
+allow you to push before you have pulled
+to latest commit so this workflow works
+fine.
+
+Small projects will usally have one
+maintainer and contributors clones her
+blessed repository and sends submissons
+to her. Larger projects may have multiple
+maintainers that helps with excepting
+submissons. A common model like this,
+that you often se on GitHub, is the
+integeration manager workflow, where the
+maintainer is an integeration manager
+than excepts pull requests from developers
+that have public repositores, often
+called forks (which should not be confused
+with a project fork where the forker
+is taked the project in another direction
+is does not requests pulls.)
+
+Even larger project will usablly work
+with a dictator and lieutenants workflow
+where developers clones the blessed
+repository and submits patches to the
+lieutenants who in turn submits the the
+dictator that finally pushes the changes
+to the blessed repository.
+
+
+
+
+
@node GNU Free Documentation License
@appendix GNU Free Documentation License
@include fdl.texinfo