mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
git proxy setting alone didn't work on windows platform. environment variable should be set when working on windows command line
parent
58ba4f46bc
commit
0bb89e7444
@ -1,5 +1,10 @@
|
||||
Setting proxies for source code used by ` go get ` (listed in GoGetTools)
|
||||
|
||||
## Windows command line
|
||||
```
|
||||
$ set http_proxy=http://proxy.example.com:port
|
||||
```
|
||||
|
||||
## git
|
||||
```
|
||||
$ git config [--global] http.proxy http://proxy.example.com:port
|
||||
|
Loading…
x
Reference in New Issue
Block a user