git 添加代理
今天遇到的问题拉取 git (github)项目失败
~/Desktop/project/learn/learn-rpc git:[main]
git fetch
fatal: unable to access 'https://github.com/xl-9527/learn-rpc/': Failed to connect to github.com port 443 after 75002 ms: Couldn't connect to server
# 增加代理
git config --global http.proxy 'http://127.0.0.1:7897'
# 取消代理
git config --global --unset http.proxy