Consider the command
git log --pretty=format:'"%h","%an","%aD","%s",' > log.csv
This works perfect, but I can't seem to figure out where to add the --date=short that is located within the github documentation
From pretty-formats git documentation, %aD is RFC822 style whereas %ad is the one that takes into account --date= option :
'%ad': author date (format respects --date= option)
'%aD': author date, RFC2822 style
git log --date=short --pretty=format:'"%h","%an","%ad","%s"' > log.csv
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With