Created
August 20, 2024 07:46
-
-
Save lukasschwab/ecfbfb57ed1275c339e197aeec254a2e to your computer and use it in GitHub Desktop.
Bodge: git log stats to 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
| git log --author="schwab" --shortstat | grep -E '\s\d+ file' | sed 's/[^0-9 ]*//g' | awk '{$1=$1};1' | sed 's/ \{1,\}/,/g' | sed '1s;^;files,added,removed\n;' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment