Information Technology Reference
In-Depth Information
Finish the recipe creating the .mailmap entries that will reassign all the revisions
to you. Remap your name by adding your second name. The solution to this problem is
shown in Listing 3-5 .
Listing 3-5. The .mailmap content that reassigns all revisions to me and changes my
name by inserting my second name Edmund
Włodzimierz Edmund Gajda < gajdaw@gajdaw.pl >
Włodzimierz Edmund Gajda < gajdaw@gajdaw.pl >
< john.doe@example.net >
Włodzimierz Edmund Gajda < gajdaw@gajdaw.pl >
< moo@wild-west.example.net >
Right now the $ git shortlog -ns command returns:
8 Włodzimierz Edmund Gajda
All the revisions are authored by one person—me.
Finish the recipe creating a new revision:
$ git snapshot Mapping names with .mailmap
Right now the repository contains nine revisions and only one committer. You can
verify it with:
$ git stat
This is the alias we created in Recipe 2-10.
Remember that the .mailmap file influences only the $ git shortlog com-
mand. The command:
$ git log
will print:
commit abda33b8addab96e2016f974765f937f9dac6e3c
Author: Włodzimierz Gajda < gajdaw@gajdaw.pl >
Date:
Thu May 9 10:35:15 2013 +0200
 
 
Search WWH ::




Custom Search