You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm playing around with the octokit framework. Some things are really easy to achieve, otherseem to be not so intuitive.
One thing i'm currently having problems with, is how to get recent commits or a commit tree within a specific timerange of a given repository and / or branch.
I assume that i should use the git database client like:
var commits = await octokitClient.GitDatabase.Commit.Get("Owner", "Project","Magic_Reference");
But I'm not sure what this "reference" parameter is about.
Can someone give me a hint or even more better an example?
The text was updated successfully, but these errors were encountered:
Getting repository commits is not implemented yet. See #333. Feel free to give implementing it a shot and send a PR 😉
The method you've found can also get a specific commit, but with a lot less data than the repository commit endpoint. The reference parameter is actually a commit SHA, I think it's just badly named.
Hi
I'm playing around with the octokit framework. Some things are really easy to achieve, otherseem to be not so intuitive.
One thing i'm currently having problems with, is how to get recent commits or a commit tree within a specific timerange of a given repository and / or branch.
I assume that i should use the git database client like:
var commits = await octokitClient.GitDatabase.Commit.Get("Owner", "Project","Magic_Reference");
But I'm not sure what this "reference" parameter is about.
Can someone give me a hint or even more better an example?
The text was updated successfully, but these errors were encountered: