Created
November 12, 2019 16:28
-
-
Save DanOliverBC/b0ef72d114a71649eaf00d2d377ddaad to your computer and use it in GitHub Desktop.
Gets git log commits for a time period and outputs them to a csv
This file contains hidden or 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
echo "commit id,author,date,comment,changed files,lines added,lines deleted" > res.csv | |
git log --since='2019-01-01' --date=local --all --pretty="%x40%h%x2C%an%x2C%ad%x2C%x22%s%x22%x2C" --shortstat | tr "\n" " " | tr "@" "\n" >> res.csv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment