Git cannot push the contents of the remote repository?
仅有的幸福
仅有的幸福 2017-05-02 09:30:58
0
4
706

I have already performed remote operation to the remote warehouse. There is nothing in github yet. I want to upload the code from the local warehouse and have done the add and commit operations, but when I perform the $ git push origin master
operation, I get the error fatal: unable to access 'http://github.com/TodayWasAFairTale/test...': Recv failure: Connection was reset

. What's going on?

仅有的幸福
仅有的幸福

reply all(4)
伊谢尔伦

If you want to push a private library, you need to bring your username with you. In time, the private library will give you development permissions. If it is your own library, then the reason may be as mentioned above.

黄舟

Check if it is an agent problem stackoverflow

迷茫

haox

It seems like GitHub now uses https instead of HTTP

伊谢尔伦

Confirm whether it has been added ssh key to github

Try it git push -u origin master

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template