Information Technology Reference
In-Depth Information
?? john-grisham.txt
informs you about one new, untracked file:
john-grisham.txt
5. Save the current state of the working directory as a new revision:
$ git add -A
$ git commit -m "Second revision [John Grisham]"
6. Check the status of the repository with:
$ git status -s
The empty output proves that the repository is clean.
7. Check the log of the repository with the alias from Recipe 2-10:
$ git l
The output contains two revisions:
0468 Second revision: [John Grisham]
de36 First commit [Agatha Christie]
8. The repository should look like Figure 3-3 .
 
Search WWH ::




Custom Search