##git push -u origin main出现错误
fatal: unable to access ‘https://github.com/xxx/xxxx.git/’: Failed to connect to github.com port 443 after 21162 ms: Couldn’t connect to server
解决方法:
$ git config --global http.proxy http://127.0.0.1:1080
git config --global https.proxy http://127.0.0.1:1080
注意
127.0.0.1:1080 这个要变,每个人不一样
查看方式:
这样就好啦!