GitHub 对于 Windows:使用 .Net 4.5.2 登录失败

GitHub for Windows: login failed with .Net 4.5.2

所以我最近将计算机上的 .NET 更新为 4.5.2 - 我认为这会导致 GitHub for Windows 出现错误。如前所述 here and here,您可以安装补丁,确保某些 DLL 未损坏,重新安装等。我已经完成了所有这些,并且 none 成功了。所有这些其他问题也较旧,并且在 4.5.2 发布之前。为了完整说明,我安装的 .NET 版本是:

我重装了至少3次,应用还是不能用。在我将 .Net 升级到 4.5.2 之前它工作正常。我从这里做什么?

我遇到的另一个症状是我尝试查看的每个存储库都显示 Failure looking for HEAD in this repository,我认为这意味着它无法访问远程存储库。我想这是因为登录失败的原因相同。但是,如果我在 Git Bash 中打开存储库,一切正常 - 我可以看到遥控器,推送到它,从中拉出,一切。问题出在 GitHub 的某个地方,用于 Windows 客户端。我只是不知道在哪里...

我遇到了完全相同的问题。我之前有 GitHub,但出于某种原因我卸载了它。然后 Microsoft 更新来了,随之而来的是 .NET Framework 4.5.2.

对我有用的是建议的卸载 here referencing the help from GitHub 这意味着 "files left behind on your system"

...try to re-install the GitHub for Windows app, make sure that you uninstall it completely by manually erasing the following directories:

%LocalAppData%\GitHub and %AppData%\GitHub

More information on the unistall procedure on: https://help.github.com/articles/uninstalling-github-for-windows

试一试。或许对你也有帮助。

发布此问题后,Windows 的 GitHub 发布了解决该问题的更新。