Skip to content

Instantly share code, notes, and snippets.

@tueda
Created May 5, 2024 08:45
Show Gist options
  • Save tueda/3621ef947c2ec267235253445a2de876 to your computer and use it in GitHub Desktop.
Save tueda/3621ef947c2ec267235253445a2de876 to your computer and use it in GitHub Desktop.
#!/bin/sh
for f in "$@"; do
git blame -e "$f"
done | awk -F'<' '{print $2}' | awk -F'>' '{print $1}' | sort | uniq -c | sort -nr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment