Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

BitBucket get list of all contributors

Is there a way using the BitBucket API to get a list of all commiters/contributors to a repository?

I know I can user git-shortlog for this purpose but would rather make an API call if possible.

like image 342
Drejc Avatar asked Nov 15 '25 16:11

Drejc


1 Answers

No, we do not currently have that kind of data indexed, or available through the API.


If you want a fairly slow way, just clone the repo and compile it locally with something like:
$ git log --format="%ae" | sort | uniq -c

Then you can parse through the commits one-by-one for contributors

like image 176
Erik van Zijst Avatar answered Nov 17 '25 10:11

Erik van Zijst



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!