出现如下错误:
cloning into 'xxxxx'...
remote: HTTP Basic: Access denied
fatal: Authentication failed for 'https://gitlab.xxxx.com/xxx/.git/'
但使用 git@github.xxx.comm/xxx/.git
可以成功clone。
系统: win10
git版本: 2.23.0.windows.1
终端:cmder
解决方法:
控制面板——用户账户——管理你的凭据——windows凭据——相应git地址凭据——更新凭据密码。