在github开源代码添加MIT

为自己的开源程序添加最受欢迎的开源许可证之一MIT License,按照下面步骤1分钟即可完成。

官网条款全文

条款全文网址:https://opensource.org/licenses/MIT

MIT License版权方不明,因此无正式官网,在此推荐开源组织的地址。

另一个看起来像官网是由个人开源贡献者提供的:https://www.mit-license.org/


如何应用到开源程序中

将下文拷贝保存到LICENSE文件中。

下文为官网拷贝下来的内容,建议从官网拷贝。

Copyright  

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  • 写入版权信息
    License第一行版权信息将括号中的内容替换成自己的版权信息、版权方,建议加上联系方式。

  • 加入源文件开头。
    为了让第三方显而易见的了解该程序的License,建议在源文件的开头包含这段声明

  • 将LICENSE文件放入源代码库与源程序一起发布。

你可能感兴趣的:(版本控制工具,问题解决,github,MIT,License,许可,开源程序,官网,开源许可证,开源软件)