![](/img/trans.png)
[英]Ubuntu 20.04 github, vs-code. https protocol PAT was used
[英]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.