我试图把我的项目推到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