GnuTLS recv error (-110): The TLS connection was non-properly terminated问题的解决方案

我在使用git clone --branch 3.4 --depth 1 https://github.com/opencv/opencv.git命令的时候,遇到如下问题:fatal: unable to access ‘https://github.com/opencv/opencv.git/’: GnuTLS recv error (-110): The TLS connection was non-properly terminated.
解决方案如下:
1.

sudo apt-get update
sudo apt-get install build-essential fakeroot dpkg-dev
 sudo apt-get build-dep git
mkdir ~/git-openssl
cd ~/git-openssl
apt-get source git

问题解决!

你可能感兴趣的:(计算机基础,git,bash)