Information Technology Reference
In-Depth Information
The repository now looks like
Figure 5-11
.
Figure 5-11
.
The new commits x1, x2, and x3 created in a detached HEAD state
x3
revision. If you now switch to the branch
master
with the
$ git checkout
master
command then the state of the repository will change as shown in
Figure
The reference to
.git/HEAD
is usually skipped in the figures because the same in-
formation—when necessary—can be presented with an asterisk prepended to the mas-
ter.