目录

Ubuntu-配置-github-代理

目录

Ubuntu 配置 github 代理

参考:

https://i-blog.csdnimg.cn/direct/a52c0aed2ddd483990c51614cd13f491.png

查看 Windows 的 IP,例如:192.168.10.100

https://i-blog.csdnimg.cn/direct/95e88963e5984bc6b4d1b6b226e3a1e8.png

然后回到 ubuntu 中

git config --global https.proxy https://192.168.10.100:7890
git config --global http.proxy http://192.168.10.100:7890

然后重新 git,发现正常连接。