Created
November 8, 2019 09:53
-
-
Save mmozuras/ebd4e9f2a2028e1350d6355569887647 to your computer and use it in GitHub Desktop.
Lines of code in a git repository by year
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 ls-files | | |
while read f; do | |
echo $f > /dev/tty; git blame $f | | |
grep -o "\d\{4\}-"; | |
done | | |
sort -f | | |
uniq -ic | | |
sort -n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment