现象:
Cloning into '/Users/brodyliao/Library/Caches/Homebrew/go--gotools--git'...
fatal: unable to access 'https://go.googlesource.com/tools.git/': Failed to connect to go.googlesource.com port 443: Operation timed out
解决方案(在有翻墙的情况下):
git config --global http.proxy "localhost:1080”
如需要取消:
git config --global --unset http.proxy
网友评论