I'd like to download anonymously public repositories source code in my computer using java. So, I know how to download source code in repository using kohsuke-git-api. but, I didn't find how to access public repositories anonymously. (repositories are not mine)
Asked
Active
Viewed 2,690 times
2 Answers
7
All github repositories can be accessed directly, unauthenticated, anonymously via http:
git clone http://github.com/user/reponame

Marcus Müller
- 34,677
- 4
- 53
- 94
-
I know this way. However, first I don't know username and repository name. – Rect Feb 05 '15 at 08:10
-
4@Rect: You're not making sense; if you don't know the owner of the repository nor its name, you don't know what you want to clone. I think you should really really bring an example of what you want to do in your question. – Marcus Müller Feb 05 '15 at 10:58
-3
Amm just use a VPN to make your browser anonymous and download away I guess: http://hackerbot.net/tutorials/356-use-internet-anonymously
Its really not that difficult. Acutally even a free proxy might do it.

Techinator
- 57
- 1
- 1
-
1You don't need a VPN to clone a git repo from Git Hub anonymously, you can just clone via HTTP – Alan Evangelista Jul 07 '21 at 18:01