今天在git clone的时候遇到了Git gnutls_handshake() failed的问题:
$ git clone https://github.com/intel/igvtg-qemu
Cloning into 'igvtg-qemu'...
fatal: unable to access 'https://github.com/intel/igvtg-qemu/': gnutls_handshake() failed: The TLS connection was non-properly terminated.
解决方案:
很简单,把https换成http:
$ git clone http://github.com/intel/igvtg-qemu
Cloning into 'igvtg-qemu'...
warning: redirecting to https://github.com/intel/igvtg-qemu/
remote: Enumerating objects: 57, done.
remote: Counting objects: 100% (57/57), done.
remote: Compressing objects: 100% (43/43), done.