Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 3
Message 1 of 9

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

Solved! Go to Solution.

Well, I don't want my project public repo to be used without my permission.So is there any way I can restrict people to use my repo without my permission.I want people to take my permission before using my work.

8 Replies
Pilot Lvl 1
Message 2 of 9

Re: Is there a way to stop cloning or downloading from my public repositories?

Could you please rephrase your question? I am not sure what you mean.
Steven Copeland
Copilot Lvl 3
Message 3 of 9

Re: Is there a way to stop cloning or downloading from my public repositories?

Hope this clears your doubt


@StevenCopeland wrote:
Could you please rephrase your question? I am not sure what you mean.


:smileyhappy:

Moderator
Message 4 of 9

Re: Is there a way to stop cloning or downloading from my public repositories?

@PN1019 It looks like you forgot to include some content on this reply. Did you edit your original post? Or did you mean to include more in this comment?

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!

Copilot Lvl 3
Message 5 of 9

Re: Is there a way to stop cloning or downloading from my public repositories?

@nadiajoyce I edited my original post. BDW, I got the query answered.

Solution
Pilot Lvl 1
Message 6 of 9

Re: Is there a way to stop cloning or downloading from my public repositories?

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.

Ground Controller Lvl 1
Message 7 of 9

Re: Is there a way to stop cloning or downloading from my public repositories?

Is there any way for rejecting large clone requests?

I want to reject clone request if repo size is more than 2GB

Pilot Lvl 3
Message 8 of 9

Re: Is there a way to stop cloning or downloading from my public repositories?

@50Wliu suggested a great idea - Use a license. It protects you legally, and gives you control over your codebase...

 

If you're determined to make it non-downloadable, you can always make it a private repository, but then you lose the factor of open-source-iness.

Ground Controller Lvl 1
Message 9 of 9

Re: Is there a way to stop cloning or downloading from my public repositories?

1. ZIP or RAR your repository

2. Put it on google drive

3. Click get shareable link

4. Click advanced - Check prevent people from downloading or sharing the file

 

Anyone with the link can see what's inside the directories and the structure, but can't open or view the content of the files.