git behind proxy: remote HEAD refers to nonexistent ref, unable to checkout

后端 未结 4 1856
孤街浪徒
孤街浪徒 2021-02-01 06:30

When trying to clone ANY repository via https from github, we get:

git clone https://github.com/rails/rails.git
Cloning into rails...
remote HEAD refers to nonex         


        
4条回答
  •  没有蜡笔的小新
    2021-02-01 06:59

    the packages noted above can be found here:

    • http://packages.ubuntu.com/en/precise/amd64/libp11-kit0/download
    • http://packages.ubuntu.com/en/precise/amd64/libgnutls26/download
    • http://packages.ubuntu.com/en/precise/amd64/libcurl3-gnutls/download

    I used these versions and was able to use git behind a proxy without issue:

    $ sudo dpkg -i libp11-kit0_0.10-1_amd64.deb libgnutls26_2.12.14-5ubuntu2_amd64.deb libcurl3-gnutls_7.22.0-3ubuntu2_amd64.deb
    

提交回复
热议问题