Information Technology Reference
In-Depth Information
$ cd git-recipes
$ git clone 03-03 03-04
$ cd 03-04
Check the authors of the revisions with:
$ git shortlog -s
The output will look like:
5 Włodzimierz Gajda
Of course, my name will be replaced by yours. This output informs you that the per-
son named “Włodzimierz Gajda” authored five revisions.
Open your .gitconfig file and change your name to:
[user]
name = johny
email = john.doe@example.net
Next create the revision as johny . Follow the procedure:
1. Create the directory FR/ and the file FR/alouette-gentille-
alouette.txt :
$ mkdir FR
$ vi FR/alouette-gentille-alouette.txt
2. Type the contents of the file:
Alouette, gentille alouette,
Alouette, je te plumerai.
...
3. Save the file and close the editor.
4. Create the revision:
$ git snapshot [FR] Alouette, gentille alouette
Search WWH ::




Custom Search