浏览器配置代理
- 工具—》internet选项–》连接–》局域网设置–》代理服务器–》地址,端口
git 代理配置
- 设置代理
http代理:git config --global http.proxy 'http://127.0.0.1:1087'
https代理:git config --global https.proxy 'https://127.0.0.1:1087'
git config --global http.proxy 'socks5://127.0.0.1:1080'
git config --global https.proxy 'socks5://127.0.0.1:1080'
- 取消代理
git config --global --unset http.proxy
git config --global --unset https.proxy
-查看代理
git config --global --get http.proxy
git config --global --get https.proxy