1、原因:
remote: Unauthorized fatal: Authentication failed for 'pear-gerrit.xxxx.biz/a/xxxx/xxxx…'
- 远程拉取https地址的仓库代码,电脑会弹窗输入密码;
- 1、输入开机密码不对;
- 2、输入HTTP Credentials中 Generate New Password不对;
- 3、删除windows各种凭证也不对;
- 4、# 清空wincred存储的所有git账号密码 git credential-wincred erase也不对;
2、解决:
- 1、我当前的Git版本是:v2.38.0;
- 2、升级到Git最新版是:v2.54.0;
- 3、再拉取https代码的时候,Git弹窗输入密码;
- 4、输入HTTP Credentials中 Generate New Password就对了;