Skip to content

Instantly share code, notes, and snippets.

@avdata99
Created August 22, 2020 20:16
Show Gist options
  • Save avdata99/2a63e02b2b67c4b6d0ce848c47a7ed51 to your computer and use it in GitHub Desktop.
Save avdata99/2a63e02b2b67c4b6d0ce848c47a7ed51 to your computer and use it in GitHub Desktop.
git ls-files | \
while read f; do \
git blame -w -M -C -C --line-porcelain "$f" | \
grep -I '^author-mail '; \
done | cut -f2 -d'<' | cut -f1 -d'>' | sort -f | uniq -ic | sort -n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment