Commits Between Two Commits


#1

Basically I have two commit hash’s and I want to find all the commits between them in a repo - basically like running git log e7bf43d98e4c..4f58d1a2aed via the API? I can’t figure out a way to do it. I’ve been messing with the commit search but I don’t believe there is a way?

Any help?


#2

:wave: @donatj!

Would https://developer.github.com/v3/repos/commits/#compare-two-commits be what you’re looking for?