问题描述
- 已经配置SSH-Key,每次更新,提交抛出如下信息:
Logon failed, use ctrl+c to cancel basic credential prompt.
Username for 'https://github.com': xxx # 用户名
Password for 'https://dadeity@github.com': xxx # 密码
问题原因
- 验证SSH-Key是否配置成功
输入ssh -T git@github.com
命令,验证时提示是否continue,输入yes,若成功就会看到:You’ve successfully authenticated, but GitHub does not provide shell access - SSH认证 没有问题,那就是Git版本原因
解决方案
升级Git版本