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
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
On Github you can see the amount of forks in your repository:
When you click on the number, you should see which users cloned the repo. For instance:
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.
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.