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

前端 未结 7 1461
后悔当初
后悔当初 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:44

    I had the same problem

    First, update the git version from https://git-scm.com/downloads

    You can install the 32 version and 64 version

    Then try to pull the code from the remote repository.

    If that doesn't work, run the following command to list all the git configurations

    git config --global --list
    

    Remove all the SSL configuration related settings. Remove only SSL configurations, like SSLVersion, etc. You can get the settings name from the above command result. The result format will be ConfigurationName=value. To remove configurations, run the following command.

    git config --global --unset ConfigurationName
    

    For example, if you want to remove the user.name configuration

    git config --global --unset user.name
    

    After deleting the SSL configurations, try to pull the code from the remote repository. This time the git will use the default SSL configuration values.

提交回复
热议问题