git csv export of commits in the last month
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
|git log --since='last month' --pretty=format:'%h;%an;%ad;%s' --author='Ionut Colceriu' > ~/log.csv|
Aug 25, 2017
Very useful, thanks!
Oct 31, 2017
add "--all" to get all commits from all branches
Feb 9, 2018
Thank you... you help me to create my Dataset...
Jun 18, 2018
If the text got no commas (not guaranteed) using , as separator makes it easier to parse CSV
--date=short removes precision but makes easier to parse (Y-M-D)
git log --since='last year' --date=short --pretty=format:'%h,%an,%ad,%s' > ~/log.csv
Sep 22, 2019
Thanks a Lot!!!
How to add multiple authors?
May 1, 2022
Thanks a Lot!!! How to add multiple authors?
Probably you are looking for this...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
If the file fails to open in Excel, add the following on a new line at the top of the file: