【转】git 设置代理

2020-08-25  本文已影响0人  Mr菜头

查看是否真的设置代理,若未设置代理运行取消代理命令一次后方可上传下载了,本人出现的情况是这样,记录下,希望对其他人有用

git config --global http.proxy 查询代理

git config --global --unset http.proxy 取消代理

git config --global http.proxy http:172.16.13.171:8080 设置代理

git config --global https.proxy http:172.16.13.171:8080

原文链接:https://www.jianshu.com/p/fd342b1e2928

上一篇 下一篇

猜你喜欢

热点阅读