forked from vincent/notebook
add git socks proxy command
This commit is contained in:
parent
c8249b1fdc
commit
07df67d2b4
@ -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```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user