Remove credentials from Git

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

    In Windows 2003 Server with "wincred"*, none of the other answers helped me. I had to use cmdkey.

    • cmdkey /list lists all stored credentials.
    • cmdkey /delete:Target deletes the credential with "Target" name.

    (* By "wincred" I mean git config --global credential.helper wincred)

提交回复
热议问题