git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Show total commit count of two authors or more authors into first author

From
JTJagan Teki <jagannadh.teki@gmail.com>
Date
Dec 6, 2015, 19:23 UTC
Message-ID
<CAD6G_RQ2Ub8HasupNbUFK2LJfir25tNFTqrqU2ELoEJHOibzHA@mail.gmail.com>
I usually count commits as below command
$ git shortlog -s -n
   149  Jagan Teki
   148  Otavio Salvador
   143  Bo Shen
   137  Lokesh Vutla
   134  Minkyu Kang
   132  Marian Balakowicz
   129  Haavard Skinnemoen
   127  Holger Brunck
   124  Tim Harvey
   122  Jagannadha Teki
   120  Daniel Schwierzeck
   119  Eric Nelson
   118  Andy Fleming
   116  Jagannadha Sutradharudu Teki
Out of which below three names are with same author which changed
while submitted patches.
  149  Jagan Teki
  122  Jagannadha Teki
  116  Jagannadha Sutradharudu Teki
I need a command to show to add all commits and show first one as
   387 Jagan Teki
Can anyone help to do this?
thanks!
-- 
Jagan.
Next: Andreas Schwab
Message 1 of 5 in “Show total commit count of two authors or more authors into first author”
  1. Jagan TekiDec 6, 2015
  2. Andreas SchwabDec 6, 2015
  3. Jagan TekiDec 6, 2015
  4. brian m. carlsonDec 6, 2015
  5. Jagan TekiDec 7, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.