美文网首页
关于github仓库

关于github仓库

作者: 披萨配可乐 | 来源:发表于2018-01-06 15:00 被阅读39次

fork仓库

项目clone下来时,push时提示以下错误时

Pushing to https://github.com/仓库名/LetterIndexViewDemo.git
2018-01-06 14:53:37.008 git-credential-sourcetree[30495:14600422] Error (internetKeychainItemForServer:withUsername:path:port:protocol:) - The specified item could not be found in the keychain.
remote: Permission to 仓库名/LetterIndexViewDemo.git denied to concerned123.
fatal: unable to access 'https://github.com/仓库名/LetterIndexViewDemo.git/': The requested URL returned error: 403

解决办法:
找到项目中的隐藏文件夹.git下面的config文件


项目路径

原本文件中的内容如下:


config文件

将url修改为:


修改后

给已有github仓库创建LICENSE文件

点击create new file


自己的仓库

输入LICENSE.md ,右边会出现 "choose a license template" 按钮 ,并且点击此按钮


LICENSE.md

左边是已有的license ,选择你想要添加的license后点击 "Review and submit"


选择license

选择提交到master分支就完成了


提交

相关文章

网友评论

      本文标题:关于github仓库

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