Git: How to count member's commits

在 Git 裡計算 commits 數量個人是覺得沒什麼意義,頂多就是看著數字,滿足一下虛榮心吧。跟看磁碟重組的小方塊差不多。

$ git shortlog -s -n
65 CQ
34 Robin
12 Diro
8 micky

類似這樣,參考參考。

[Updated: 12-11-2013]

如果想查詢全部共有多少 commits,可以用以下指令:

$ git rev-list HEAD --count
119

Posted

in

,

by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Exit mobile version