Skip to content

Instantly share code, notes, and snippets.

@pferreir
Created February 27, 2013 14:09
Show Gist options
  • Save pferreir/5048143 to your computer and use it in GitHub Desktop.
Save pferreir/5048143 to your computer and use it in GitHub Desktop.
git blame is awesome, but I needed more.
[alias]
humiliate = "!sh -c 'RECIPIENTS=`git blame $0 -e -L $1 | sed \"s/.* (<\\(.*\\)> .*/\\1/\" | sort | uniq | paste -sd \",\" -` ; git blame $0 -L $1 | mail -s \"WTF is this?\" $RECIPIENTS;'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment