How to compare two commits using octokit api? #2014
Unanswered
rahiparikh
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I remember I've run into this before myself. But it's been a while, I don't know how I worked around it. As this is a question about GitHub's APIs, a better place to ask would be https://github.saobby.my.eu.orgmunity/c/github-ecosystem/37, you are more likely to get an answer there, several hubbers are watching that forum. Please share if you find out the answer |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I am trying to compare two git commits using GH's compare API on push event. In the event, the base hash is
000000
and head is some other value. When I try to compare head SHA against000000
, I get an error.What is a recommended way of comparing one commit against start of the branch?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions