Can't pull or push with Team Explorer in Visual Studio 2017

前端 未结 4 1790
别跟我提以往
别跟我提以往 2020-12-10 21:02

I use Git with Visual Studio 2017. Since yesterday every time I try to push or pull from the remote repository with Team Explorer I get the following error:

         


        
相关标签:
4条回答
  • 2020-12-10 21:23

    This is very likely due to GitHub turning off versions of TLS older than 1.2. Visual Studio 2017 and Git for Windows have both been updated. More information can be found here:

    https://developercommunity.visualstudio.com/content/problem/201457/unable-to-connect-to-github-due-to-tls-12-only-cha.html

    Hope this helps!

    0 讨论(0)
  • 2020-12-10 21:26

    Updating Visual Studio to the latest version worked for me.

    0 讨论(0)
  • 2020-12-10 21:35

    I have had this issue with my team on several different machines with several different users. We solved it with a single git command that sets the windows credentials globally to the credential.helper explained here

    git config --global credential.helper wincred
    

    After we fired off the above command, all clones, pushes and pulls worked like a charm. You would just have to make sure that the credentials you have stored in Windows Credentials are the ones that you want to use.

    0 讨论(0)
  • 2020-12-10 21:48

    I encountered this problem some time ago and I can confirm that just upgrading to GCM 1.14.0 worked for me Get version v1.14.0 here

    0 讨论(0)
提交回复
热议问题