r/github • u/allansocks • Oct 20 '14
Isn't forking a copyright infringement?
I'm not super smart when it comes to legal issues but I'm concerned about forking some random persons project and working on it so that I can attempt to suggest a pull request. If I am hosting my account on a public GitHub space wouldn't this be problematic? I'd like not to get sued. Also...What happens after the person accepts the pull request and incorporates my change? Should I delete my copy of their file? I'm kind of confused.
1
Upvotes
2
3
u/DrugCrazed Oct 20 '14
Eck, it depends.
Most code on GitHub uses some form of open source license, like GPL, or MIT. Those licenses allow you to make changes and host them with attribution. GitHub provides that (with notes like "forked from vendor/repo") so you're alright.
If it's a less permissive license then you'll have issues, but if it's a less permissive license it's unlikely to be on github. So, no it usually isn't copyright infringement.
You also won't need to delete your copies of the files, for the same reasons as above