Information Technology Reference
In-Depth Information
The repository is clean.
7. Check the log of the repository with
$ git l
The output will contain two revisions:
564f Baa, baa black sheep
7cfb Sing a song of sixpence
The current state of the “Songs for children” project is shown at
Figure 3-5
.
Figure 3-5
.
The “Songs for children” project after second revision
Now you decide that this project should store songs in different languages. Create a
new directory named
EN
and move both files into it:
$ mkdir EN
$ mv *. txt EN
Check the state of the repository:
$ git status -s
The repository is dirty. Save the current state of working directory as a new revi-
sion:
$ git snapshot Internationalization: directory EN