I have a log git alias like this
log --graph --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %ci %an - %s''
production
* 123456 2013-03-01 09:45:11 +0100 Name Surname - commit message 1 * 123457 2013-03-01 09:45:11 +0100 Name LongerSurname - commit message 2 * 123458 2013-03-01 09:45:11 +0100 Name Sho - commit message 3
I would like to get a different format, namely
* 123456 2013-03-01 09:45:11 Name Surname - commit message 1 * 123457 2013-03-01 09:45:11 Name LongerS - commit message 2 * 123458 2013-03-01 09:45:11 Name Sho - commit message 3
Note that iso8601 does not have the GMT + 1 specification, and how long names are abbreviated and short names are padded to align the log message.
Is it possible to do this with a regular git log? if not, what is the best way to achieve it?
source share