Git failed with a fatal error. Authentication failed

问题描述

克隆git代码时,报Git failed with a fatal error. Authentication failed for ‘git http link’

问题根源

Windows凭证管理器保存的git账号凭证,即git密码错误

解决方案

逛了一下github,已经有人给出了解决方案:
https://github.com/Microsoft/Git-Credential-Manager-for-Windows/issues/660
在这里插入图片描述
具体做法:(windows10)
1、打开windows控制面板->凭证管理器->windows凭证->找到git凭证并删除
2、重新克隆git
3、系统会让你输入git凭证,也就是你的git密码
4、克隆成功

Logo

瓜分20万奖金 获得内推名额 丰厚实物奖励 易参与易上手

更多推荐