首页 > 解决方案 > VSCode 远程:找不到存储库,致命:身份验证失败

问题描述

如果我不进行任何更改,我现在无法将任何更改推送到我的存储库中。

通过这样做git push,我收到以下错误:

remote: Repository not found.
fatal: Authentication failed for 'https://github.com/...';

我见过关于同一主题的多个主题,例如:

并且没有一个解决方案有效:

  1. 我去了“Windows Credentials”并删除了条目vscode:github
  2. 我运行了命令git config --global --unset credential.helper,没有任何弹出窗口
  3. 我运行了命令rundll32.exe keymgr.dll,KRShowKeyMgr,没有找到任何相关的 github 条目
  4. 为 Windows 安装 Git Credential Manager,并运行命令git credential-manager clear
  5. 以管理员身份执行 CMD 并运行第 2 点中的命令。

标签: gitvisual-studio-code

解决方案


推荐阅读