“fatal: HttpRequestException encountered.” Error with GitHub/Bitbucket Repositories due to dropping TLS-1.0 support

后端 未结 4 1381
栀梦
栀梦 2021-02-02 06:51

Problem

I recently encountered the following message when I pushed to a GitHub repo:

\"fatal: HttpRequestException encountered. \" followed by bei

4条回答
  •  不思量自难忘°
    2021-02-02 07:07

    Step 1 Firstly you need to download and install the latest version of the Git Windows Credential Manager.

    Here is the link to it on GitHub. https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases/latest

    Step 2 Restart your machine.

    Step 3 Enter a git command in the command line and you will be prompted to login again.

    Step 4 If you still get the same fatal error, you will need to update Git by downloading the latest version from here: https://git-scm.com/downloads

    Step 5 Enter a git command in the command line and you will be prompted to login again. The problem should be solved now and you should be able to carry on working as normally.

提交回复
热议问题