Gaurav Bhor
Gaurav Bhor

Reputation: 1157

Git repository usage tracking

I just started using Git and it is amazing. This is not a question about various commands or general Git usage. My question is that, can I track which users are cloning or pulling my repository onto their local machines?

Just to be clear. I have a repository on GitHub https://github.com/myOrganization/myRepo Can I track who is cloning and using the code present on this repository?

Edit: The repository may be public or private.

Upvotes: 0

Views: 339

Answers (2)

Dan McClain
Dan McClain

Reputation: 11920

The only thing you can really track on GitHub is who has forked it, who is watching it, who has starred it, and who has contributed code back to your repository.

If you hosted the repository on your own server, you would be able to configure the server's logging so that you can see when people connect to the server, and possibly what commands where running. I can't vouch for exactly the visibility for all the commands would be since I haven't attempted to do this.

Upvotes: 1

woz
woz

Reputation: 10994

You can see when someone contributes to the project, forks it, or makes a pull request, but you cannot see everyone who downloads and uses/edits your code. If the repository is public, anyone can get the code anonymously.

Upvotes: 0

Related Questions