我知道这个问题并不新鲜,我一直在寻找答案,但是到目前为止,对我来说没有任何作用。
问题是每次我尝试使用a git clone或git pullcommand时,都会收到以下错误:
error: Failed connect to github.com:8080; Connection refused while accessing https://github.com/mxcl/homebrew.git/info/refs?service=git-upload-pack
fatal: HTTP request failed
Run Code Online (Sandbox Code Playgroud)
(这里是https://github.com/mxcl/homebrew.git/info/refs?service=git-upload-pack,但这只是一个例子,我遇到了所有网址都存在此问题)