I want to allow people to clone my private repository by using a password, even if they are not Github users. Is that possible?
Asked
Active
Viewed 613 times
0
-
correct title: NON-GITHUB users – user3601578 Nov 15 '19 at 16:20
-
Check this answer here: https://stackoverflow.com/questions/2505096/cloning-a-private-github-repo. – DINA TAKLIT Nov 15 '19 at 20:33
-
Does this answer your question? [Cloning a private Github repo](https://stackoverflow.com/questions/2505096/cloning-a-private-github-repo) – DINA TAKLIT Nov 15 '19 at 20:34
1 Answers
0
No, that's not possible. GitHub restricts access based on usernames and doesn't provide anonymous access to private repositories using a password. Anyone who wants to clone your repository from GitHub will need to have their own account and will need to have been added with read permissions on the repository.
Alternately, you can set up a mirror on a server you control with Git and a web server and give out the password there.

bk2204
- 64,793
- 6
- 84
- 100