在Windows更改密码后:密码提示后,Git身份验证失败。

huangapple go评论127阅读模式
英文:

After Password Change in Windows: Git Authentication fails after Password Prompt

问题

我正在使用Bonobo托管Git服务器,并使用我的Windows凭据登录。
最近,我不得不更改我的Windows密码。在这样做后,我能够使用新密码成功登录Bonobo服务器。
但是,当我尝试使用Visual Studio拉取服务器上的内容或使用Git扩展克隆存储库时,我总是收到“身份验证失败”的错误消息。

以前我已经多次更改密码,解决方法总是在控制面板的Windows凭据管理器中删除Git凭据。之后,当拉取、克隆等操作时,Git密码提示会出现并要求输入新密码。我输入新密码后一切正常,但现在却不行。
无论我做什么,我总是收到“身份验证失败”的错误消息,尽管我的凭据是正确的。
我尝试重新安装所有Git组件,但也没有帮助。

编辑:
我还尝试在Windows凭据管理器中更新密码。这也没有帮助。
在我删除管理器中的Git凭据后,密码提示出现,我可以输入新凭据,但Git表示新凭据是错误的。

英文:

I am hosting a Git Server on Bonobo and I'm logging in with my windows credentials.
Lately I had to change my windows password. After doing so, I am able to log in to the Bonobo Server with my new password without any problem.
But when I am trying to pull form the server using visual studio or clone a repository using git extensions, I always get an 'Authentication failed' error.

I have done a password change many times before, and the solution was always to delete the git credentials in the windows credential manager in the control panel. After this, the git password prompt appears when pulling, cloning etc. and asks for the new password. I enter the new password and everything works fine, but not now.
No matter what I do, I always get the 'Authentication failed' error, although my credentials are correct.
I tried to reinstall all git components but that did not help either.

EDIT:
I also tried to update the password in the windows credential manager. This did not help either.
After I delete the git credential in the manager, the password prompt appears and I can enter the new credentials, but git states that the new credentials are wrong.

答案1

得分: 0

我已找到解决方法。
对于所有遇到相同问题的人:

我的密码包含了一个'§'符号,git不喜欢。
在重新更改密码后,一切正常运作。

英文:

I have found the solution.
For all who have the same problem:

My password contained a '§' symbol, which git does not like.
After changing the password again, everything works fine.

huangapple
  • 本文由 发表于 2020年1月3日 17:23:56
  • 转载请务必保留本文链接:https://go.coder-hub.com/59575937.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定