git clone出错
生活随笔
收集整理的這篇文章主要介紹了
git clone出错
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
1、fatal: unable to access 'https://github.com/xxxx/': gnutls_handshake() failed: Error in the pull function.
解決辦法:關掉藍燈
2、Failed to connect to 127.0.0.1 port 40287: 拒絕連接
原因:使用
env | grep proxy查看代理設置情況。
NO_PROXY=localhost,127.0.0.0/8,::1 http_proxy=http://127.0.0.1:40287/ https_proxy=http://127.0.0.1:40287/ HTTPS_PROXY=http://127.0.0.1:40287/ no_proxy=localhost,127.0.0.0/8,::1 HTTP_PROXY=http://127.0.0.1:40287/可以看出,40287端口確實被占用了。
重置所有與40287端口有關的代理設置:
export https_proxy="" export http_proxy="" export HTTPS_PROXY="" export HTTP_PROXY=""?
成功git clone
總結
以上是生活随笔為你收集整理的git clone出错的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: html答题游戏代码,html5+css
- 下一篇: xcode9 免证书真机调试