Information Technology Reference
In-Depth Information
TITLE: Sing a song of sixpence
Save the file and close the editor.
In the same manner modify the second file baa-baa-black-sheep.txt . The
first line should contain TITLE: Baa, baa, black sheep . Finally modify the
third file bajka-iskierki.txt . Enter the text TITLE: Bajka iskierki .
Save the file and close the editor.
Right, now all three files are modified. The command $ git status -s prints:
M EN/baa-baa-black-sheep.txt
M EN/sing-a-song-of-sixpence.txt
M PL/bajka-iskierki.txt
Create the revision that will store the current state of the project:
$ git snapshot Titles
The history printed by $ git l now prints five revisions:
39d6 Titles
d234 [PL] Bajka iskierki
f305 Internationalization: directory EN
564f Baa, baa black sheep
7cfb Sing a song of sixpence
As you can see the single revision can store an arbitrary number of modifications.
The last revision we created included three modified files. The final repository from
Recipe 3-3 is shown at Figure 3-8 .
 
Search WWH ::




Custom Search