add git socks proxy command
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
vincent 2021-05-30 11:29:51 +02:00
parent c8249b1fdc
commit 07df67d2b4

View File

@ -86,3 +86,14 @@ fi
exit exit
``` ```
### use git ssh over proxy socks
```export GIT_SSH_COMMAND='ssh -o ProxyCommand="nc -X 5 -x 127.0.0.1:1080 %h %p"'```
### use git http over proxy socks
```git config http.proxy 'socks5://127.0.0.1:1080```