Sign up for a GitHub account Sign in All Gists colby / - Created October 10, 2014 Code Revisions 1 /.sunken-menu-group /.sunken-menu-contents Embed HTTPS SSH You can clone with HTTPS or SSH . Download Gist /.only-with-full-nav View - - Raw File suppressed. Click to show. 1 2 3 4 5 6 function work { git log --after="$(date -v-1d +%F)" --author="Colby Olson" --oneline > /tmp/git first=$(cat /tmp/git | head -n1 | cut -f 1 -d " ") last=$(cat /tmp/git | tail -n1 | cut -f 1 -d " ") git diff --shortstat ${first} ${last} } Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment /.discussion-timeline /.gist-content /.container Something went wrong with that request. Please try again. ...