Search code examples
github

Set Github repo so people can see it but cannot clone it?


Is it possible to share a Github repo so people can view it but not download/clone it? I would like someone to see a complete project that I built but not have the ability to clone.


Solution

  • I understand what you are saying. I am just asking if it is possible

    It isn't possible.

    What if you wanted to show someone a project you built but didn't want them to be able to copy the entire source code?

    Like the comments have hinted upon, how could you prevent someone from copying all the code, if they can just transcribe everything to a file? It's not even that hard to scrape the HTML page and automate the whole thing. Worst case scenario someone could just write it down.