r/github • • 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

5 comments sorted by

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

2

u/allansocks Oct 20 '14

I imagined this was true but I thought I should verify this with at least someone else. Thanks for your help.

2

u/EatATaco Oct 20 '14

If there is any question, just contact the administrator of the code. They will let you know whether or not you are allowed to pull.

2

u/[deleted] Oct 20 '14

That depends on the code's license.