github上传项目

参考:https://www.cnblogs.com/yad123/p/12593631.html

git push -u origin master 出现问题:

fatal: unable to access : Failed to connect to github.com port 443: Timed out

解决办法:

在git Bash中

git config --global http.proxy 127.0.0.1:1080 为全局的 git 项目都设置代理

git config --local http.proxy 127.0.0.1:1080 为某个 git 项目单独设置代理

 

posted @ 2020-09-21 10:05  jjtqwer  阅读(77)  评论(0)    收藏  举报