Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The easiest way to do it is to add your own copyright line above the original LICENSE copyright line.

That way anyone touching the project can just add their own line on top.

Done.

EDIT: Example: https://github.com/go-gitea/gitea/blob/main/LICENSE

A more complicated way to do it is to add a folder that contains the original LICENSE file or files. Sometimes there is more than one license, or the license texts differ. In that case, you must preserve all the different variants, even if they all call themselves MIT.

Then, you can optionally add your additional own LICENSE file * only iff* it is compatible with all existing LICENSES. In the case of the MIT license, you may relicense, sublicense, or use a different license in addition, provided it is MIT-compatible. With e.g. GPL you can't. Note that you still have to preserve all the original LICENSE files in the repo.



Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: