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?
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 githubTry it
git push -u origin master