I came across this question which answers what should be done if you find that your open source project infringes a license.

One of the answers states it's ok to simply remove the infringing code. However, the repository history will always have the infringing code and anyone will have access. Is it really enough to simply remove the code and from now on live a non-gangster-criminal-code-thief-thug life?


1 Answer 1


That might not be enough. You might need to edit the history of the repo you publish and remove the infringing code so that all (public) history is on compliance with copyright and licenses.

The actual answer of what actions are necessary and which are nice but not required likely depends on the exact circumstances. IANAL

Not the answer you're looking for? Browse other questions tagged or ask your own question.