Show top n most active committers in a git repository -


i use git shortlog -s -n --all show contributors in git repository.

 18756       6604  else     6025  etc        5503  committer        5217  , on 

i wonder if there option show first n contributors. example:

git shortlog -s -n --all --some-option 3 

and output be:

18756      6604  else    6025  etc      

a solution use unix pipes , head:

git shortlog -s -n --all | head -3 

...but if there built-in

there isn't way of doing native git shortlog command. it's used generate contributors list between releases rather top n statistic.

your approach of using pipes efficient way of solving problem; use script or git alias same thing.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -