Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

The name of an author is exactly the one given by the "Author" line of a commit. When I list the authors, their names must be followed by the number of commits they have.

share|improve this question

1 Answer 1

Run this to get the list of authors ordered by number of commits:

git shortlog -sn

Example output is available here.

share|improve this answer
And how do I append the number of contributions after the name of each author? – johnny Jan 5 '12 at 21:07
@johnny - it doesn't append, it does however prepend. – James Jan 5 '12 at 21:09
@jrg please fix the link. it is broken – Talespin_Kit Nov 6 '12 at 13:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.