Information Technology Reference
In-Depth Information
5 Włodzimierz Gajda
1 John Doe
1 johny
Next, create the revision under the name of Paul "Moo" Cowboy :
1. Change your name in .gitconfig :
[user]
name = "Paul \"Moo\" Cowboy"
email = moo@wild-west.example.net
Notice that you have to escape inside quotes with back-
slashes.
2. Create a new file frere-jacques.txt :
$ vi FR/frere-jacques.txt
3. Type the contents of the file:
Frère Jacques, frère Jacques,
Dormez-vous? Dormez-vous?
Sonnez les matines! Sonnez les matines!
Ding, daing, dong. Ding, daing, dong.
4. Save the file and close the editor.
5. Save the current state of the working directory as a new re-
vision:
$ git snapshot [FR] Frere Jacques
6. Check the list of authors with:
$ git shortlog -s -n
The output will contain four entries:
Search WWH ::




Custom Search