英文:
How to fix duplicate account in git credential manager
问题
git版本2.41.0.windows.2
PowerShell版本7.3.5
当我运行 git credential-manager github list
时,凭据管理器显示相同的帐户两次:
PS C:\Users\<redacted>\dev\src\cs\<redacted> git credential-manager github list
chrisxfire
chrisxfire
我可以通过运行 git credential-manager github logout chrisxfire
来移除重复的帐户。然而,只要我打开另一个仓库,重复的帐户就会再次出现。
有任何关于这个问题的想法或如何永久解决它?
英文:
git version 2.41.0.windows.2
PowerShell version 7.3.5
When I run git credential-manager github list
, credential manager shows the same account twice:
PS C:\Users\<redacted>\dev\src\cs\<redacted> git credential-manager github list
chrisxfire
chrisxfire
This results in the following prompt whenever I push to the repo:
I can remove the duplicate account by running git credential-manager github logout chrisxfire
. However, as soon as I open another repo, the duplicate account shows up again.
Any idea what's causing this or how to fix it permanently?
答案1
得分: 2
这是一个错误。此问题中描述了一个修复方法。
https://github.com/git-ecosystem/git-credential-manager/issues/1325#issuecomment-1631642589
英文:
This is a bug. There is a fix described in this issue
https://github.com/git-ecosystem/git-credential-manager/issues/1325#issuecomment-1631642589
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论