[Add] locperday.sh A nice little piece to see how many lines of code you wrote today.

This commit is contained in:
Allanis 2013-06-22 22:39:04 +01:00
parent 53f1da128c
commit aacdea005a

1
locperday.sh Executable file
View File

@ -0,0 +1 @@
git log --shortstat --author "Allanis" --since "1 day ago" --until "0 day ago" | grep "files changed" | awk '{files+=$1; inserted+=$4; deleted+=$6} END {print "| files changed", files, " | lines inserted:" inserted " | lines deleted:", deleted }'