Remove credentials from Git

后端 未结 30 1720
不知归路
不知归路 2020-11-21 10:13

I\'m working with several repositories, but lately I was just working in our internal one and all was great.

Today I had to commit and push code into other one, but

30条回答
  •  你的背包
    2020-11-21 10:47

    In my case, I couldn't find the credentials saved in the Windows Credential Manager (Windows 7).

    I was able to reset my credentials by executing

    git config --global credential.helper wincred
    

    It was honestly a hail Mary to see if it would wipe out my credentials and it actually worked.

提交回复
热议问题