VS代码:使用克隆存储库时获取“错误的凭据”

问题描述 投票:1回答:1

我使用的是vscode版本1.45.1。使用克隆存储库时,我得到“不良凭证”。最近,我在github上更改了用户名。那可能就是原因。我该如何告诉与代码?

github vscode-settings
1个回答
0
投票

您需要在Windows中打开Credential Manager并在那里删除(或编辑)Github帐户:

Windows Credential Manager

您需要重新启动Visual Studio Code才能提示您再次登录到Github。

还请注意,您可能需要在https://github.com/settings/applications下的Github中取消OAuth连接:

Github OAuth for VSCode

© www.soinside.com 2019 - 2024. All rights reserved.