【Ubuntu git clone命令报错】fatal: unable to access ‘https://github.com/XXX‘: gnutls_handshake() failed:
Ubuntu git clone 命令报错:Cloning into 'XXX'...fatal: unable to access 'https://github.com/XXX': gnutls_handshake() failed:The TLS connection was non-properly terminated.
文章共230字 · 阅读需要大约1分钟
一键AI生成摘要,助你高效阅读
问答
·
Ubuntu git clone命令报错
执行下面命令行:
git clone https://github.com/XXX
报错:
Cloning into 'XXX'...
fatal: unable to access 'https://github.com/XXX': gnutls_handshake() failed:The TLS connection was non-properly terminated.
解决办法: 将命令中的https改为git如下:
git clone git://github.com/XXX
若出现以下错误:
Cloning into 'XXX'...
fatal: unable to connect to github.com:
github.com[0: 20.205.243.166]: errno=Connection timed out
解决办法:输入以下命令
git config --global url."https://github.com".insteadOf git://github.com
再输入以下命令即可!
git clone git://github.com/XXX
更多推荐
已为社区贡献1条内容
所有评论(0)