Remove credentials from Git

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

    In case Git Credential Manager for Windows is used (which current versions usually do):

    git credential-manager clear
    

    This was added mid-2016. To check if credential manager is used:

    git config --global credential.helper
    → manager
    

提交回复
热议问题