Information Technology Reference
In-Depth Information
While working in the repository created in the Recipe 9-4, you would like to rebase
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: