Remove credentials from Git

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

    Remove this line from your .gitconfig file located in the Windows' currently logged-in user folder:

    [credential]
    helper = !\"C:/Program Files (x86)/GitExtensions/GitCredentialWinStore/git-credential-winstore.exe\"
    

    This worked for me and now when I push to remote it asks for my password again.

提交回复
热议问题