Skip to content

Is there a way to stop cloning or downloading from my public repositories? #23248

Answered by 50Wliu
PN1019 asked this question in New to GitHub
Discussion options

You must be logged in to vote

No, there is no way to prevent people from cloning or downloading your repository if they have access to it.  If you are worried about others using your code without your express permission, I would suggest adding a license.  I’ve personally found https://choosealicense.com/ to be helpful when deciding which license to use.

Replies: 9 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@Divuzki
Comment options

@ajneel
Comment options

@SlothTheCoder
Comment options

Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@SlothTheCoder
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@SlothTheCoder
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@SlothTheCoder
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet