git clone失败

时间:2023-03-08 23:16:30
git clone失败

操作:

$ git clone https://github.com/zjun615/DragListView.git
Cloning into 'DragListView'...
fatal: unable to access 'https://github.com/zjun615/DragListView.git/': Failed to connect to 127.0.0.1 port 1080: Connection refused

解决方案:

查看代理:git config --global http.proxy

取消代理:git config --global --unset http.proxy

参考:http://blog.csdn.net/lly20000/article/details/46903143