今晚跟着这一篇文章在GitHub上测试上传项目。《怎样在GitHub上传自己的项目》
在最后一步 git push -u origin master 遇到了问题
 warning: redirecting to https://github. com/xxx/test.git/
 error: RPC failed;cur1 28 Recv failure: Connection was reset
 send-pack: unexpected disconnect while reading sideband packet
 fatal: the remote end hung up unexpectedly
 Everything up-to-date
尝试了这篇文章的方法 跳转至文章也就是git config --global --unset http.proxy 和 git config --global --unset https.proxy 没有用。
最后发现是在 git remote add origin https:// 这个链接写错了,http少写了一个s
最后成功上传