We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ListCommits uses following line to construct the url
ListCommits
u := fmt.Sprintf("repos/%v/%v/commits", owner, repo)
There is no way to specify branch name to the function and hence the list of commits returned are only from the default branch
The text was updated successfully, but these errors were encountered:
If you search for the word "branch" you will find the SHA field of CommitsListOptions here: https://github.com/google/go-github/blob/master/github/repos_commits.go#L97-L101 which should do what you want.
SHA
CommitsListOptions
Sorry, something went wrong.
Closing due to inactivity.
No branches or pull requests
ListCommits
uses following line to construct the urlu := fmt.Sprintf("repos/%v/%v/commits", owner, repo)
There is no way to specify branch name to the function and hence the list of commits returned are only from the default branch
The text was updated successfully, but these errors were encountered: