我正在關注Hart的Rails教程。現在,我無法創建回購協議並將其推送到GitHub。假設我已經做了先決步驟正確......這是我堅持:在GitHub中推送新回購的問題
所以我想在這裏創建我的回購:
Kennys-MacBook-Pro:first_app kennynguyen$ git remote add github https://github.com/knguyeniii/first_app.git
,然後按我的Rails文件到GitHub上:
Kennys-MacBook-Pro:first_app kennynguyen$ git push -u github master
這是錯誤我得到:
fatal: https://github.com/knguyeniii/first_app.git/info/refs?service=git-receive-pack not found: did you run git update-server-info on the server?
而且因爲我不知道是什麼埃爾SE鍵入...:
Kennys-MacBook-Pro:first_app kennynguyen$ git update-server-info
嘗試另一個推:
Kennys-MacBook-Pro:first_app kennynguyen$ git push -u github master
同樣的錯誤:
fatal: https://github.com/knguyeniii/first_app.git/info/refs?service=git-receive-pack not found: did you run git update-server-info on the server?
您是否製作GitHub上的倉庫? –