3.2. 创建 LICENSE 文件
建议您使用软件许可证发布软件。
软件许可证文件告知用户他们可以使用源代码做什么和不能做什么。源代码没有许可证意味着您对此代码保留所有权限,任何人都不能从源代码复制、分发或创建衍生产品。
流程
使用所需许可证声明创建
LICENSE
文件:$ vim LICENSE
例 3.1. GPLv3
LICENSE
文件文本示例$ cat /tmp/LICENSE This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
其他资源