美文网首页
git 身份验证失败,更行用户账户

git 身份验证失败,更行用户账户

作者: 开创Me世界 | 来源:发表于2022-06-22 19:24 被阅读0次

Git push:凭据丢失或无效。致命:身份验证失败'https://github.com/username/repo.git'

git config --list

这些不是“凭证”:它们不会帮助您通过GitHub这样的远程服务进行身份验证。

对于HTTPS URL( https://github.com/<me>/<myRepo> ),您需要:

git config --global credential.helper osxkeychain

在这里,您可以输入您的实际凭证:重新输入用户数据验证自己的身份就好了

相关文章

网友评论

      本文标题:git 身份验证失败,更行用户账户

      本文链接:https://www.haomeiwen.com/subject/ppmuvrtx.html