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具體代理即可

 

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