git设置代理
This commit is contained in:
parent
3464710dd8
commit
1297e3439d
13
git设置代理.md
Normal file
13
git设置代理.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
|
||||||
|
|
||||||
|
# git设置代理
|
||||||
|
|
||||||
|
* Windows下Clash设置代理
|
||||||
|
|
||||||
|
```sh
|
||||||
|
git config --global https.proxy http://127.0.0.1:7890
|
||||||
|
git config --global https.proxy https://127.0.0.1:7890
|
||||||
|
git config --global http.proxy 'socks5://127.0.0.1:7890'
|
||||||
|
git config --global https.proxy 'socks5://127.0.0.1:7890'
|
||||||
|
```
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user