Commit 32b75082 by César Galvis

docs: added git proxy docs

parent d0ee9228
......@@ -70,6 +70,21 @@ curl -x http://windows-vpn:3128 -I http://www.google.com
Add the proxy `windows-vpn:3128` in your network settings or web browser.
#### Add proxy in git
Steps from [here](https://gist.github.com/evantoli/f8c23a37eb3558ab8765)
> **NOTE:** Add your git server IP or domain in `GIT_PRIVATE_SERVER` variable
```sh
# Add proxy by git server domain or IP
GIT_PRIVATE_SERVER=http://domain.com
PROXY_SERVER=http://windows-vpn:3128
git config --global "http.$GIT_PRIVATE_SERVER.proxy" $PROXY_SERVER
# Check global configuration
cat ~/.gitconfig
```
## Useful commands
```sh
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment