Information Technology Reference
In-Depth Information
While working in the repository created in the Recipe 9-4, you would like to rebase
branch a onto b . You want to obtain the repository shown in Figure 9-7 . When you fin-
ish rebasing, branch a should contain a picture displaying a cat.
Figure 9-7 . The repository you want to produce in Recipe 9-6
Solution
Clone the repository from Recipe 9-4:
$ cd git-recipes
$ git clone-with-branches 09-04 09-06
$ cd 09-06
Rebase branch a onto b with the $ git rebase b a command. The rebasing
will fail with the following message:
 
 
Search WWH ::




Custom Search