git - Windows 密码已更改,不再能够使用 Git。控制面板中没有凭据管理器
问题描述
基本上,标题所说的。我需要更改我的 Windows 密码,现在当我尝试使用 git clone 时出现身份验证错误:
fatal: Authentication failed for '<git repo here>'
到目前为止,我已经尝试了以下方法:
git config --global --add user.password "password here"
git config --global --unset user.password
git config --global credential.helper wincred
没有明显的变化。我还尝试重新启动 git bash、Intellij 和我的计算机。我的大部分搜索都归结为“在控制面板中使用凭据管理器”,但我的本地计算机上似乎没有它。
解决方案
运行以下命令以在全局级别上设置配置。
git config --global credential.helper manager
推荐阅读
- node.js - NodeJS 和 Auth0 的 JWT 身份验证
- javascript - 如何使用数组中的值编辑具有相同类的 td 的所有值
- postgresql - PostgreSQL:在事务中检测到死锁 SELECT FOR UPDATE
- excel - 将相同的超链接粘贴到所有工作表
- sql - 2 条件 1 AND 语句
- azure-devops - 如何将 ASPNET Core 站点部署到 Azure Linux Web App(无容器)
- c# - 列表框多选模式不起作用
- c# - 我可以使用抽象基类作为 Unity Editor 元素吗?
- angular - 在 ag-grid 中加载数据时如何避免“无行”消息
- php - 来自 mysqli 数据库的 Div 数组未显示第一行