Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to get download/clone statistics of a git repository?

Tags:

git

github

Is there any way to get how many times a git repository has been cloned or downloaded from github? I was just curious as I found other statistics such as commit times lines of codes cam be generated using: http://gitstats.sourceforge.net/ but I did not find how to check for clone/download count.

like image 460
Shreyas Karnik Avatar asked Jul 14 '11 17:07

Shreyas Karnik


People also ask

How do I see GitHub download count?

Look for the 'download_count' entry. Theres more info at http://developer.github.com/v3/repos/releases/.

Can I see who downloaded my GitHub repository?

That does not seem to be possible. You only have statistics, but not on downloads (unless you are talking about downloads of the releases associated with your project), or on clones of your repo.

Does git clone download all history?

No it does get the full history of the remote repository.

Does git clone download all branches?

The idea is to use the git-clone to clone the repository. This will automatically fetch all the branches and tags in the cloned repository. To check out the specific branch, you can use the git-checkout command to create a local tracking branch.


1 Answers

Its super easy now!

Go "REPO -> Insights -> Traffic"

enter image description here

like image 113
Farhan Avatar answered Sep 23 '22 02:09

Farhan