Differences between revisions 1 and 2
Revision 1 as of 2009-01-25 16:54:23
Size: 791
Editor: RobertFendt
Comment:
Revision 2 as of 2009-01-25 16:56:17
Size: 0
Editor: RobertFendt
Comment: Created at wrong position
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Branching in Mercurial (and in Git) Explained =
There seems to be a little bit of confusion about just what branching methods exactly are supported by Mercurial and where the differences to Git are (at least, I was confused at first!). So this text tries to explain branching in Mercurial (and Git) in a bit more detail.

== Short-term branching in Mercurial ==

Let's start with the branching model in Mercurial, since it is somewhat simpler. Consider three developers: Alice, Bob and Clark. Alice has started work on a new project, and Bob and Clark are to take part in the development. For the sake of simplicity, let's assume we are in a local network, and all three developers can pull changes from each other. Alice's repository looks currently like this:
----
CategoryHowTo

BranchingExplained (last edited 2013-08-27 17:11:38 by AugieFackler)