Protocol https not supported or disabled in libcurl using Git

前端 未结 10 2656
深忆病人
深忆病人 2021-02-14 07:56

I have a few github repos and they have been working fine for the last few months.
However, a few days ago I started getting a strange error when trying to push
and pull

10条回答
  •  忘掉有多难
    2021-02-14 08:16

    I had the same error on macos and homebrew. When i tried-> git clone ... the return was:

    fatal: unable to access 'https://github.com/....': Protocol https not supported or disabled in libcurl

    I did:

    rm '/usr/local/bin/git'
    

    as it mentioned on:

    brew link git    
    

    Then i did a git clone again and a keychain popup box appeared and cklicked accept.Then it worked.

提交回复
热议问题