remote: HTTP Basic:Access denied fatal:Authentication failed for
git clone Authentication failed时的现象
PS D:\Cache\ideaProject> git clone http://git.地址.com/工程路径/工程名.git
Cloning into '工程名'...
remote: HTTP Basic: Access denied
fatal: Authentication failed for 'http://git.地址.com/工程路径/工程名.git/'
折腾感言
这是clone代码时遇到的一个错误,搞了好久都不曾解决,头发掉了一大把,现在找到了解决方式,特此记录一下。
解决方案
控制面板 ——> 用户账户——>凭据管理器 ——>Windows凭据
将git相关的凭据删除既可。
一图剩千言,话不多说,看图:
快去clone代码吧