美文网首页
GitHub代码创建LICENSE

GitHub代码创建LICENSE

作者: Singularity_Lee | 来源:发表于2018-12-26 16:24 被阅读0次
如MIT
在我们将代码上传到cocoapods时需要许可说明,
常见许可证如
Apache License 2.0
GNU General Public License v3.0
MIT License
GitHub有提供最直接的创建方式,步骤例:
点击勾选

在输入LICENSE后会自动出现 Choose a license template选项按钮,点击

1545812044003.jpg

MIT License为例,选好所需许可后点击Review and submit

1545812154599.jpg 1545808709303.jpg
在页面下方会有两个选择
选择一 Commit directly to the master branch.
直接将此许可证提交到master分支
选择二 Create a new branch for this commit and start a pull request.
新建立一个分支

选择 Commit directly to the master branch.提交到master后点击 Commit new file即可创建完成

相关文章

网友评论

      本文标题:GitHub代码创建LICENSE

      本文链接:https://www.haomeiwen.com/subject/itnhlqtx.html