@
msg7086 这里举GitHub为例有点不恰当。当代码托管在 GitHub, 其版权授权应该满足GitHub 的ToS
https://help.github.com/articles/open-source-licensing/Generally speaking, the absence of a license means that the default copyright laws apply. This means that you retain all rights to your source code and that nobody else may reproduce, distribute, or create derivative works from your work. This might not be what you intend.
Even if this is what you intend, if you publish your source code in a public repository on GitHub, you have accepted the Terms of Service which do allow other GitHub users some rights. Specifically, you allow others to view and fork your repository.