最近不知道爲什麼存在 github 上的項目無法拉取了,報錯如下
$ git pull github development
fatal: unable to access 'https://github.com/jiangcheng1806/multi-applications.git/': Failed to connect to 127.0.0.1 port 50647: Connection refused
在網上搜索了一下,可能是代理的問題,於是通過如下操作解決了問題,
$ git config --global --unset http.https://github.com.proxy
$ git config --global --unset https.https://github.com.proxy
取消掉所有代理設置,這個代理應該是自動創建的,還得手工去掉,也是不太方便了。