fatal: unable to access igit Failed to connect to 127.0.0.1 port 1080

fatal: unable to access igit/ 'https://github.com/XXXXX': Failed to connect to 127.0.0.1 port 1080

 

之前按照https://www.zhihu.com/question/27159393

连github加速后

git config --global http.https://github.com.proxy https://127.0.0.1:1080
git config --global https.https://github.com.proxy https://127.0.0.1:1080

输入如下却不能取消。

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

解决办法:

sudo gedit .gitconfig

删去 socket具体代理即可

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章