From 9e551bc6163173fe173f43fc084a7ab9d0c4b689 Mon Sep 17 00:00:00 2001 From: unknown <2111319672@qq.com> Date: Sat, 29 Mar 2025 23:28:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0git=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- git/gitbash/git 常用配置.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 git/gitbash/git 常用配置.md diff --git a/git/gitbash/git 常用配置.md b/git/gitbash/git 常用配置.md new file mode 100644 index 0000000..82d0f71 --- /dev/null +++ b/git/gitbash/git 常用配置.md @@ -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 +``` +