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上同步你的回購