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