我試圖把我的項目推到github存儲庫。在我的新項目,我沒有下面的命令:Git推送錯誤閱讀命令流
git init
git commit -m "first commit"
git remote add origin https://github.com/myaccount/MyRepoName.git
但是,當我試圖把我的承諾是這樣的:
git push -u origin master
它給了我以下錯誤信息:
fatal: Full write to remote helper failed: Invalid argument
Error reading command stream
我在谷歌中沒有發現這件事。請幫我解決這個問題。
使用ssh讀/寫URL而不是使用只讀https網址。它應該像[email protected]/myaccount/MyRepoName.git。 – gnuanu
現在它給我留言: 致命:'[email protected]/myaccount/MyRepoName.git'似乎不是git存儲庫 fatal:無法從遠程存儲庫讀取。 請確保您擁有正確的訪問權限 並存在存儲庫。 – kemot90
對不起,錯字。應該是, [email protected]:username/Repo.git – gnuanu