Remove saved credentials from TortoiseGit

后端 未结 2 427
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-27 13:39

My credentials are saved in TortoiseGit (using Wincred) but my password changed.
The only way for me to pull from the repository now is to remove the Credential Helper.<

2条回答
  •  一向
    一向 (楼主)
    2020-11-27 14:03

    I changed my Windows password and now GIT would fail with authentication error, and even doing 2 pull in a row with git pull -v would not prompt for the new password.

    It was really hard to find the Windows credential manager since not only do I have Windows 10, but also it's a French language version.

    I finally found on this page I could access it by using:

    rundll32.exe keymgr.dll,KRShowKeyMgr
    

    and I double-clicked on the git:http: line to enter the right password and I was then able to pull and push to the repository.

    I hope this helps someone else.

    I'd still like to understand why it's not asking me for the new password anymore - it used to ask for it the first 2 months after I got my Windows 10 PC (I change password every month)

提交回复
热议问题