Information Technology Reference
In-Depth Information
Figure 5-9 . The repository in a detached HEAD state
Now, create the x1 revision with the alias we created in Recipe 3-11:
$ git simple-commit x1
The SHA-1 of x1 will be stored in .git/HEAD . The parent of x1 will be i2 . This
state of the repository is shown in Figure 5-10 .
Figure 5-10 . The new commit x1 created in a detached HEAD state
Create two more revisions x2 , x3 with:
$ git simple-commit x2 x3
 
 
 
Search WWH ::




Custom Search