Skip to content

Instantly share code, notes, and snippets.


siddarth/Workday summary

Last active Dec 13, 2015
What would you like to do?
# H/T:
git log --stat --author $(git config --get --since="$(ruby -e "print - 24*60*60")" --until="now" | awk -F',' '/files? changed/ {
files += $1
insertions += $2
deletions += $3
print "Files Changed: " files
print "Insertions: " insertions
print "Deletions: " deletions
print "Lines changed: " insertions + deletions
}' | mail -s "Productivity metrics for $(ruby -e 'print')" $(git config --get
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.