Skip to content

Instantly share code, notes, and snippets.

@beleon
beleon / shortstat_today.sh
Created January 14, 2019 11:50 — forked from loganlinn/shortstat_today.sh
git shortstat for self in last 24 hours
git log --author=`git config user.name` --shortstat --since=yesterday | grep 'files changed' | awk '{files+=$1; inserted+=$4; deleted+=$6} END {print "", files, "files changed,", inserted, "insertions(+),", deleted, "deletions(-)"}'