如何在 win10 global 上导出 http_proxy in git bash
How can I export http_proxy in git bash on win10 global
我一般用git-bash做一些像
这样的操作
go get
,docker pull
,curl -i google.com
等等。
因为我在中国,所以需要代理编程!
现在我用
export http_proxy=http://127.0.0.1:1080
每次都是,但都是本地临时的,感觉好麻烦
有什么好的方法可以设置 http_proxy 全局和永久。
谢谢你提前。
对于永久代理设置,请在环境变量中设置代理。
有关详细信息,请访问:click here or https://docs.cloudfoundry.org/cf-cli/http-proxy.html。
如果这个想法行不通,请删除变量值中的 https://。
我一般用git-bash做一些像
这样的操作
go get
,docker pull
,curl -i google.com
等等。
因为我在中国,所以需要代理编程!
现在我用
export http_proxy=http://127.0.0.1:1080
每次都是,但都是本地临时的,感觉好麻烦
有什么好的方法可以设置 http_proxy 全局和永久。
谢谢你提前。
对于永久代理设置,请在环境变量中设置代理。 有关详细信息,请访问:click here or https://docs.cloudfoundry.org/cf-cli/http-proxy.html。 如果这个想法行不通,请删除变量值中的 https://。