Hi Scott,

Is there any way to get the result like this?

$ git shortlog -s -n
   291  Commiter 1
    47  Commiter 2
    34  Commiter 3
    27  Commiter 4
    26  Commiter 5
     4  Commiter 6
     3  Commiter 7
     3  Commiter 8
     2  Commiter 9

In fact, I´d like to see the total number of commits for each commiter for
all branches, like the list above - that I got from shortlog command, but
for all branches.

Thanks,
Alberto


On Tue, May 19, 2009 at 3:12 PM, Scott Chacon <[email protected]> wrote:

>
> Oops,
>
> On Tue, May 19, 2009 at 12:12 PM, Scott Chacon <[email protected]> wrote:
> > Hey,
> >
> > On Tue, May 19, 2009 at 11:44 AM, Alberto <[email protected]> wrote:
> >>
> >> Hi folks,
> >>
> >> I´d like to know whether there is any way to count all commits from
> >> every branches I have configured on my workstation?
> >>
> >> (I´ve used "git shortlog -n -s" to get the number of the commits from
> >> the branch I am. )
> >
> > This will give you the commit count per author.  If you want this
> > across all branches, you can use 'git shortlog -n -s --all' - if you
> > want the total number of commits for all authors you can use 'git
> > ref-list --all | wc -l'
>
> Sorry, i meant 'git rev-list --all | wc -l'
>
> Scott
>
> >
> > Scott
> >
> >>
> >> Thanks in advance,
> >> Alberto
> >>
> >> >>
> >>
> >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GitHub" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/github?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to