GitHub Push Event All commits

According to the GitHub API events page for Push Event , it returns an array commits

. It says the following:

The array contains a maximum of 20 commits. You can use the Commits API to get additional commits if needed .

The only problem is that looking at the commits API it is impossible to get the commits tied to a specific one Push Event

.

Triggering an HTTP request GET

for the url: https://api.github.com/repos/OWNER/REPO/commits?sha=commitsha seems to return all commits before that sha

. I'm just looking to somehow get the commits that were pushed on this particular one Push Event

.

How can i do this?

+3
github github-api


source to share


No one has answered this question yet

Check out similar questions:

3946
How do I clone all remote branches in Git?
3303
How do I update a forked GitHub repository?
1760
Is there a way to cache GitHub credentials for pushing commits?
1596
Add images to README.md on GitHub
1567
How do I remove a commit on GitHub?
1301
Git push requires username and password
693
Link to issue number on GitHub in commit post
263
Submit a pull request to GitHub just for the last commit
4
Get a private repository with github
0
Read all commits for a project using the GitHub API



All Articles
Loading...
X
Show
Funny
Dev
Pics