Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Explain clones info in Github's Traffic tab

In a recent question I made, one of the answers pointed to another answer in another question where a way to explore the forks and clones of a public Github repo was shared.

I went ahead and did that with my own public repo and came up with this information in the Git clones section under the Traffic tab in the Graphs section:

enter image description here

I'm not really sure I understand what this information means. Are there 6 clones of the repo in total with 4 of them made on the 09/08? Did only 3 unique cloners cloned it?, in which case, does that mean they cloned it more than once? Do those numbers include myself and any clones I might have made in different systems (ie: home PC, work PC, laptop, etc)? Any help is much appreciated.

like image 355
Gabriel Avatar asked Sep 15 '14 20:09

Gabriel


People also ask

What is clone in GitHub Traffic?

Github will start a virtual machine or a container. It will clone your code, install it and run the tests. After that you get a fail or pass and the VM or container is shut down. Also when you have netlify integrated with for instance a React app repository.

Can I see who cloned my repo?

Can the owner of the repo see when someone clones it? No, they cannot.

Can I see how many times my repo has been cloned?

Cloning is a read-only operation, the original repository isn't modified. There is no way you can pull statistics for data that simply isn't tracked.

Why does my GitHub repo have so many clones?

It's very common to have 6 or 7 unique cloners on almost every public repo, because there are several projects out there that routinely clone all public repos. Some organizations do it to scan for API keys or other credentials accidentally made public.


1 Answers

I believe part of the confusion is that the graph shows 4 cloners (blue line), and the label is saying 3 unique cloners. Other than that, it should be interpreted as:

  • 6 clones in the past 14 days, 4 made on 9/8 ... this may not indicate the "total" as you ask, as this graph only ever goes back 14 days
  • 3 unique cloners cloned it, some of them may have cloned it more than once...
  • ...For example, on 9/8, it could have been cloners:clones of 1:1 and 1:3 ... it doesn't give you that level of information
  • It should include every time the git clone command was executed against the repo, so all of your different devices, yes.
  • You would be identified as a unique user or not based on if it could determine "unique GitHub users (or anonymous IP addresses)" + confirmation from GitHub support
like image 56
busse Avatar answered Sep 16 '22 14:09

busse