Skip to content

Instantly share code, notes, and snippets.

@dylanerichards
Created March 4, 2021 04:22
Show Gist options
  • Save dylanerichards/403f5aaa65525969a2b5d4fec7fcd426 to your computer and use it in GitHub Desktop.
Save dylanerichards/403f5aaa65525969a2b5d4fec7fcd426 to your computer and use it in GitHub Desktop.
IFS=$'\n' ; for x in $(git shortlog -sne | cut -f2 -d$'\t' | sed -e 's/ <.*//' | sort | uniq); do echo $x; git log --since '2 weeks ago' --author="$x" -p | grep '^[+-][^+-]' | wc | cut -c1-8 ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment