Reputation: 199
I usually use git-bash to do some operation like
go get
,docker pull
,curl -i google.com
and so on.
Because I am in China,I need a proxy to programme!
Now I use
export http_proxy=http://127.0.0.1:1080
every time,but it is local and provisional,I feel so bother.
Is there a good way to set the http_proxy global and permanent.
Thank you advance.
Upvotes: 3
Views: 5969
Reputation: 416
For permanent proxy setting set proxy in environment variables. For more details visit : click here or https://docs.cloudfoundry.org/cf-cli/http-proxy.html . If the idea not works remove https:// in variable value.
Upvotes: 1