Not getting the difference changes on comparing two git branches in same repo using Github API #118656
Unanswered
shashank-beam
asked this question in
API and Webhooks
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
I am able to get difference between two branches
stage
andmaster
under same repo on web version via below web URL.https://github.com/:username/:repo/compare/master...staging
but not getting the changes via Github API:
https://docs.github.com/en/rest/commits/commits?apiVersion=2022-11-28#compare-two-commits
below snapshot display output of above compare API, here it shows list of all commits but it missed the key
patches
for filenamecomposer.lock
that supposed to be have all file changes.Beta Was this translation helpful? Give feedback.
All reactions