Skip to content
Go back

Commit Leaderboard

Published:  at  10:48 AM
1 min read

Not sure If you’ll find this post too useful, but if you’re even a little competitive you might enjoy it.

Ranking the authors in a specific repo by commit from the terminal:

$ git shortlog -s -n

The output would look like that:

    44  erikzaadi
    40  dkorn
     5  Guy Perkal
     1  yarden mintz

Explanation

To show each author’s email add -e, --email

Pro Tip

If you want statistics for all branches, including not yet merged, add:
--all --no-merges.




Previous Post
JS Named Parameters
Next Post
stash != trash