The remote end hung up unexpectedly while git cloning

后端 未结 30 3025
旧时难觅i
旧时难觅i 2020-11-22 09:02

My git client repeatedly fails with the following error after trying to clone the repository for some time.

What could be the issue here?

30条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-22 09:49

    I also had the same problem.The reason for this problem is as Kurtis's descriptions about GNUTLS.

    If you have the same reason and your system is Ubuntu, you can solve this problem by installing the latest version of git from ppa:git-core/ppa.The commands are as below.

    sudo add-apt-repository ppa:git-core/ppa
    sudo apt-get update
    sudo apt-get git
    

提交回复
热议问题