Skip to content

Instantly share code, notes, and snippets.

@dnbaker
Created August 9, 2016 05:59
Show Gist options
  • Save dnbaker/da3c405cfc66c035eb2c56d780c14070 to your computer and use it in GitHub Desktop.
Save dnbaker/da3c405cfc66c035eb2c56d780c14070 to your computer and use it in GitHub Desktop.
See diff for last commit
alias gdl="git diff $(git log -n 2 | grep commit | tail -n +2 | awk '{print $NF}')"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment