git设置代理

This commit is contained in:
yewuya 2021-02-09 10:30:36 +08:00
parent 3464710dd8
commit 1297e3439d

13
git设置代理.md Normal file
View 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'
```