移除remote
git remote remove origin
上传github时 遇到 Failed to connect to github.com port 443 after 21133 ms: Couldn't connect to server
这是由于本机系统代理端口和git端口不一致导致的
二、修改git配置:(其中的10809改为你电脑的端口号)
git config --global http.proxy http://127.0.0.1:10809
git config --global https.proxy http://127.0.0.1:10809
三、再次push就可以成功上传。
另注:
去掉代理
git config --global --unset http.proxy git config --global --unset https.proxy
使用Git push github仓库时一直报错
HTTP/2 stream 1 was not closed cleanly before end of the underlying stream
发表评论