SourceTree error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

前端 未结 7 1429
后悔当初
后悔当初 2020-12-29 19:00

I\'m using SourceTree and try to clone from a general github repository, but I got this error:

fatal: unable to access \'https://github.com/mfitzp/15-

7条回答
  •  长发绾君心
    2020-12-29 19:50

    First I have installed git version 2.16. When I type the git version in the terminal, the output is 1.9. So I uninstalled the old version. And check the git version again, it show me 2.16. The issue resolved, The git works.

    Also I have done the following step early, But I don't think this is effective.

    git config --global --unset http.sslVersion
    git config --global --add http.sslVersion tlsv1.2
    

提交回复
热议问题