From 1297e3439d68ca0bd3ee2b6718c0b65861bd5f9f Mon Sep 17 00:00:00 2001 From: yewuya Date: Tue, 9 Feb 2021 10:30:36 +0800 Subject: [PATCH] =?UTF-8?q?git=E8=AE=BE=E7=BD=AE=E4=BB=A3=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- git设置代理.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 git设置代理.md diff --git a/git设置代理.md b/git设置代理.md new file mode 100644 index 0000000..ce986d6 --- /dev/null +++ b/git设置代理.md @@ -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' +``` +