繁体   English   中英

有没有办法删除 Ubuntu 20.04 中 Visual Studio Code 缓存的 GitHub 密码?

[英]Is there a way to remove GitHub passwords cached by Visual Studio Code in Ubuntu 20.04?

我试图从我有权访问的私有存储库中推送/拉取代码,但出现以下错误:

remote: Repository not found.
fatal: Authentication failed for 'https://github.com/path-togit.git/'

我已经搜索并尝试了在不同平台上提供的所有解决方案,但没有一个有效。 比如删除password和keys中的vscodegithub条目,还是不行。

我尝试了以下操作,但它们在我的情况下不起作用:

我看到那些报告这些成功的人是 Windows 和 Mac 用户。 是否有适用于 Ubuntu 的解决方案?

PS:我可以使用普通终端成功推/拉。 我的问题是 Visual Studio Code 终端,我的操作系统是Ubuntu 20.04 (Focal Fossa)。

我通过安装 GCM-core (https://github.com/microsoft/Git-Credential-Manager-Core/#linux ) 设法解决了这个问题

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM