Information Technology Reference
In-Depth Information
Right now, the output produced by $ git shortlog -s will include two au-
thors:
5 Włodzimierz Gajda
1 johny
Follow the same procedure to create a new revision by John Doe :
1. Change your name in .gitconfig to John Doe:
[user]
name = John Doe
email = john.doe@example.net
2. Create a new file little-skylark.txt :
$ vi EN/little-skylark.txt
3. Type the contents of the file:
Little skylark, lovely little skylark,
Little lark, I'll pluck your feathers off.
...
4. Save the file and close the editor.
5. Save the current state of the working directory as a new revision:
$ git snapshot [EN] Little skylark, lovely
little skylark
6. Check the list of authors with:
$ git shortlog -s -n
Thanks to -n option, the output will be sorted in descending order by the
number of revisions:
Search WWH ::




Custom Search