Skip to content

Instantly share code, notes, and snippets.

@burin
Created June 9, 2015 16:15
Show Gist options
  • Save burin/f3beb5b58d0be66732b8 to your computer and use it in GitHub Desktop.
Save burin/f3beb5b58d0be66732b8 to your computer and use it in GitHub Desktop.
git diff + blame
# Background: https://twitter.com/burin/status/608303217999544322
# > i just went on a whitespace fixing binge. is there a way to combine my git diff w/ git blame to see whose code i fixed most?
#
# This downloads the git-diff-blame script, and sets it to be executable
# Then you can run the script and give it two commit hashes, ./git-diff-blame old new
curl https://raw.githubusercontent.com/toddlipcon/tlipcon-bin/master/git-diff-blame -O -L
chmod +x git-diff-blame
./git-diff-blame 56f00b4 b3aaee4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment