Get the commit count without pulling data
We are trying to integrate the GitHub repo with our python scripts.
Now our requirement is to the commit count of a repo.
For that we are using
git log –oneline | wc -l
This command will get the commit count from the local repo.
We are using this command till today after “git pull”
But, now our requirement is to get the commit count from github remote repo directly instead of pulling the data and counting from it.
Is there any command you can suggest for that.
1 Comment
[ + ] Show comment
Answers (0)
Please log in to answer
Be the first to answer this question
But how to use their API.
Where there GET command will work??
They never respond back for these questions. - ur00361883 7 years ago