If you don't want your code to be public, licence it... You can put a licence.txt in your code, but people will ignore it. If you really don't want your code to be in public, don't publish it at all.
I personally think Copilot is training on all the code. It's not verifiable so I go with the worst case scenario. But it shouldn't be a problem if you don't publish code that's licensed.
Lines of code shouldn't even be copyrightable. But that's a whole other discussion.
I personally think Copilot is training on all the code. It's not verifiable so I go with the worst case scenario. But it shouldn't be a problem if you don't publish code that's licensed.
Lines of code shouldn't even be copyrightable. But that's a whole other discussion.