Hacker News new | ask | show | jobs
by stupendousyappi 1315 days ago
Only if the employees are already accurately sorted by value.
1 comments

Again, he has a genius method:

  git log --author="$EMPLOYEE" -p | wc -l
https://github.com/tj/git-extras/blob/master/Commands.md

"git summary" from git-extras works too

git log --pretty=%ae | sort | uniq -c | sort -r
sort -nr
That's more correct, also I realize I just counted number of commits rather than lines added. Close enough though, not like anyone would make any decisions with this list right?
Easy

  pip install git-fame

  cd twitter

  git-fame