Information Technology Reference
In-Depth Information
Problem
Working in the repository shown in Figure 6-12 , you want to merge the four branches
a , b , c , and d into the master branch. Your aim is to convert the repository shown in
Figure 6-12 into the one presented in Figure 6-14 .
Figure 6-14 . The result of merging branches a, b, c, and d into the master branch
Solution
Clone the repository from Recipe 6-7 with branches:
$ cd git-recipes
$ git clone-with-branches 06-07 06-08
$ cd 06-08
and merge four branches into the master branch executing:
$ git merge a b c d
 
 
Search WWH ::




Custom Search