Visual Studio Code always asking for git credentials

后端 未结 22 708
悲&欢浪女
悲&欢浪女 2020-11-29 14:50

I started using Visual Studio Code, and I was trying to save my test project into GitHub, but Visual Studio Code is always asking for my GitHub credentials.

I have i

22条回答
  •  南方客
    南方客 (楼主)
    2020-11-29 15:31

    I managed to stop this by carrying out the following steps.

    1. Uninstall Git Desktop (Not sure this is necessary)
    2. Uninstall Credentials Manager cd "C:\Program Files\Git\mingw64\libexec\git-core" followed by git-credential-manager.exe uninstall
    3. Reset credentials helper to use wincred git config --global credential.helper wincred
    4. User VS Code to Push some changes and re-input credentials.

    NOTE: I was using a Personal Access Token as my password.

提交回复
热议问题