LoginSignup
1
2

More than 5 years have passed since last update.

git リポジトリのコミット数をメールアドレスで集計するワンライナー

Last updated at Posted at 2018-05-15
git shortlog --summary --email|
awk '{arry[$NF] += $1;} END{for(i in arry){print arry[i] " " i}}'|
sort -n

git shortlog --summary --email はnameが違うと別に集計されちゃうし、 .mailmap 用意するのも面倒って時に。

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2