Information Technology Reference
In-Depth Information
Figure 7-10 . By applying Recipe 7-5 for repository (a) you will get repository (b)
Solution
Clone the repository from Recipe 7-4 with branches:
$ cd git-recipes
$ git clone-with-branches 07-04 07-05
$ cd 07-05
and then rebase the brave-idea branch onto the master branch with the command
shown in Listing 7-4 .
Listing 7-4. The command that transforms the repository shown in Figure 7-10(a) into
the state shown in Figure 7-10(b)
$ git rebase --onto master feature brave-idea
 
 
 
Search WWH ::




Custom Search