Remove credentials from Git

后端 未结 30 1724
不知归路
不知归路 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:46

    For Windows 10, go to below path,

    Control Panel\User Accounts\Credential Manager

    There will be 2 tabs at this location,

    1. Web credentials and 2. Windows credentials.

    Click on Windows credentials tab and here you can see your stored github credentials, under "Generic credentials" heading.

    You can remove those from here and try and re-clone - it will ask for username/password now as we have just removed the stored credential from the Windows 10 systems

提交回复
热议问题