Information Technology Reference
In-Depth Information
Figure 6-15 . The repository from Recipe 6-8 as drawn by the $ git log with --graph switch command
There is rarely a need to merge more than two branches. In fact, in many popular
projects, such as jQuery, Twitter Bootstrap, Ruby on Rails, Symfony, there are no com-
mits with more than two parents. The only projects that I know of with merges of more
than two branches at the same time are git and Linux. Surprisingly, Linux contains
commits that have 32 parents! You can verify it using --min-parents=n options of
$ git log command, such as:
$ git log --oneline --min-parents=32
 
Search WWH ::




Custom Search