添加git配置文档
This commit is contained in:
parent
bd4cdf3964
commit
9e551bc616
17
git/gitbash/git 常用配置.md
Normal file
17
git/gitbash/git 常用配置.md
Normal file
@ -0,0 +1,17 @@
|
||||
# 常用配置
|
||||
|
||||
## 设置代理
|
||||
|
||||
### 针对特定域名设置代理
|
||||
|
||||
```bash
|
||||
git config --global http.https://github.com.proxy http://127.0.0.1:7890
|
||||
```
|
||||
|
||||
### 取消代理设置
|
||||
|
||||
```bash
|
||||
git config --global --unset http.proxy
|
||||
git config --global --unset https.proxy
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user