Github彷佛只支持ssh方式来读取和写入repo,尽管https方式也显示“Read&Write”。git
所以,您须要将PC上的repo配置更改成ssh方式:github
vim .git/config
.git/config
r 目录下的文件url=
条目下的条目[remote "origin"]
url=https://MichaelDrogalis@github.com/derekerdmann/lunch_call.git
改成url=ssh://git@github.com/derekerdmann/lunch_call.git
。@
符号前的全部文本更改成ssh://git
config
文件并退出。如今你能够用来git push origin master
在GitHub上同步你的回购