据我了解,Git凭证经理核心与Git凭据管理器或Windows凭据并不相同。在使用此命令之后
printf "host=github.com\nprotocol=https\nusername=ooker777\npassword=ghp_yourToken" | git credential-manager-core store
我能推。检查Windows凭据--我只看到我的GitHub密码存储在那里--这将无法工作,因为GitHub要求它是令牌。所以很明显我不是在用wincred。
然而,git config --global credential.helper
仍然显示我正在使用wincred。为什么会这样呢?
发布于 2022-12-03 10:23:20
wincred
是Windows上遗留的凭证存储。
如果您升级了用于Windows的Git,您可以安全地将凭据助手更改为manager。
# up to Git 2.38.1 on Windows
git config --global credential.helper manager-core
# Git 2.39+
git config --global credential.helper manager
https://stackoverflow.com/questions/74665534
复制相似问题