2017年04月11日10:01:09
錯(cuò)誤日志:
Cloning into '.'... fatal: unable to access
'https://github.com/******/******.git/': Failed to connect to
localhost port 1080: Connection refused (128)
原因:
這個(gè)是因?yàn)楸镜卦O(shè)置了代理 localhost port:1080 我們只要?jiǎng)h除代理就可以;
解決:
打開(kāi)終端(我的Mac系統(tǒng),Windows大同小異)
-
首先查看是否有設(shè)置代理:
git config --global http.proxy -
如果有設(shè)置就取消代理:
git config --global --unset http.proxy
這樣就可以了。