提交代码时出现
1.排查网络是否正常。2.是否配置错误的代理。
首先打开你的 git 配置文件。 vi ~/.gitconfig 并找出是否设置了[http]或[https]部分。 如果代理设置不正确并决定将其删除,只需执行: git config --global --unset http.proxy git config --global --unset https.proxy
3.尝试切换网络代理