1

I'm trying to figure out how to get who has made clones from git or git hub. Is there a git command that can do this?

Git hub reports clones made but not who made them.

Cheers

2 Answers2

0

On Github you can see the amount of forks in your repository:

enter image description here

When you click on the number, you should see which users cloned the repo. For instance:

enter image description here

Keep in mind that clones can exist outside of Github too (e.g. Azure DevOps, GitLab, et cetera),
and that only Github clones are displayed here :)

afaik there is no git command that can retrieve this info for any remote repository, but there's a big chance that the brand new GitHub client can.

Casper Dijkstra
  • 1,615
  • 10
  • 37
0

Github tracks clones under Insights > Traffic, which can be retrieved using the command line:

curl -u [username]:[password] https://api.github.com/repos/[owner]/[repo]/traffic/clones

However, Github does not have data showing who cloned repositories.

See also

Christopher Peisert
  • 21,862
  • 3
  • 86
  • 117