Information Technology Reference
In-Depth Information
Figure 3-3 . The repository from Recipe 3-1 after the second revision
Finish the recipe creating the third file stephen-king.txt and the third revi-
sion. Here is the procedure:
1. Create the file stephen-king.txt
$ vi stephen-king.txt
2. Enter the contents:
Novels
1974 | Carrie
1975 | Salem's Lot
1977 | The Shining
3. Save the file and close the editor.
4. Check the status of the repository:
$ git status -s
The repository is dirty:
?? stephen-king.txt
5. Create the revision for the current state of the working directory:
 
Search WWH ::




Custom Search