Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Open
Gillespie59 opened this Issue · 0 comments

1 participant

@Gillespie59

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){
console.log(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!!

Manu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.