Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 3

Private repository transferring legal rights?

Solved! Go to Solution.

Let's say I have sole legal rights to my code, and I want to grant a non-exclusive license for someone to use my code, with no written contract. By transferring a repository on GitHub, am I in any way reliquishing my sole licensing rights? The other party would still need the rights to be legally allowed to make the repository public if this is not the case. I didn't see anything in the Terms of Service or help pages referencing this, but I'd like to make sure.

2 Replies
Commander Lvl 3
Message 2 of 3

Re: Private repository transferring legal rights?

Everyone on this forum can give simple legal advice, but (I don't think so at least) no one here is a lawyer. For these legal questions that are kinda complicated, your best bet is to hire a lawyer to sort this out. It seems important to you, and it would be a shame if you would take action on bad advice from someone who wants to pull of a joke on a public forum and tells you it's OK.

- Mark
Community Manager
Message 3 of 3

Re: Private repository transferring legal rights?

Hi @Avigant,


Thanks for being here! First off I am not a lawyer and this is not legal advice. The relevant section of our ToS that relates to the default rights that a user grants when uploading code to is Sec. D — particularly here. Otherwise, users are free to choose their own license terms for the content they upload - they can find more info about different licensing options by going to


I hope this helps!



Thanks for being here, sharing, and keeping our community awesome!

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