Skip to content

Instantly share code, notes, and snippets.

@Aeon
Forked from loganlinn/shortstat_today.sh
Last active December 16, 2015 03:09
Show Gist options
  • Save Aeon/5368345 to your computer and use it in GitHub Desktop.
Save Aeon/5368345 to your computer and use it in GitHub Desktop.
git log --author="`git config user.name`" --shortstat --since=yesterday | egrep 'files? changed' | awk '{files+=$1; inserted+=$4; deleted+=$6} END {print "", files, "files changed,", inserted, "insertions(+),", deleted, "deletions(-)"}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment