How to get number of merged pull requests by author via console?

53 Views Asked by At

I'm trying to get statistic how many pull requests were merged by author.

For example I have repository https://github.com/OpenFeign/feign.
On contribution page I see that I merged 6 pull requests.
But I want to get this statistic via console (for some reason I can't get this statistic via UI).

I use following command: git shortlog --summary --numbered --all but it returns 20 commits for me.

Is there any additional parameter that can be used to get correct statistic?

1

There are 1 best solutions below

5
CodeWizard On

What do you expect to get?

The problem is that you commited with 2 different names:

enter image description here

enter image description here

Here you can see that you have 5 commits in the master branch.

enter image description here

enter image description here