问题描述
在使用git clone
下载代码时遇到报错如下:
Cloning into 'linux'...
fatal: unable to access 'https://github.com/xxx/linux.git/': gnutls_handshake() failed: Error in the pull function.
问题排查
看了网上的方法,有些挺复杂,想着在尝试之前自己再挣扎下,于是做了以下尝试:
git clone -b xxx https://github.com/xxx/linux.git
加上了代码分支后成功了。