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
解决办法:输入以下命令文章来源:https://www.toymoban.com/news/detail-641001.html
git config --global url."https://github.com".insteadOf git://github.com
再输入以下命令即可!文章来源地址https://www.toymoban.com/news/detail-641001.html
git clone git://github.com/XXX
到了这里,关于【Ubuntu git clone命令报错】fatal: unable to access ‘https://github.com/XXX‘: gnutls_handshake() failed:的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!