Information Technology Reference
In-Depth Information
Problem
Your repository is clean and contains only one branch named
master
. The branch
consists of three revisions. The starting point for this recipe is shown in
Figure 6-1
.
You want to implement a new feature of your application. Because you are not sure
whether the solution will be a good one, you decide to use a new branch named
fea-
ture
. The result you want to achieve is shown in
Figure 6-2
.
Figure 6-1
.
The starting point for Recipe 6-1
Figure 6-2
.
Finished Recipe 6-1
Solution
Start the command line and create a new repository: