Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Help - Get the number of commits for a branch #11

Gillespie59 opened this Issue Dec 5, 2011 · 0 comments


None yet
1 participant

Gillespie59 commented Dec 5, 2011

Hi everybody

How can i get the number of commits for a specific branch ?

I know I can do something like that :
gh.commit.forBranch("repo", "project", "master?page=10", function(data){

If I use a "for" statement for example, I do not know when I have to stop. If I use this command with a page parameter too big, I have a 404 Not Found.

Do you have any idea?

Thanks a lot for this javascript project!!


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment