git+proxy Linux Windows MacOS

mowen 2024-09-11 72

sockes5

git config --global http.proxy socks5://127.0.0.1:10808
git config --global https.proxy socks5://127.0.0.1:10808


http/https

git config --global http.proxy http://127.0.0.1:10809
git config --global https.proxy http://127.0.0.1:10809


关闭

git config --global --unset http.proxy
git config --global --unset https.proxy


验证

git config --global -l


最新回复 (0)
返回
发新帖
X