github 报错 权限问题fatal: Authentication failed

来源:互联网 发布:网络ip地址怎么查 编辑:程序博客网 时间:2024/05/22 17:43

错误信息
Username for ‘https://github.com‘: ×××××
Password for ‘https://××××@github.com’:
remote: Invalid username or password.
fatal: Authentication failed for

网上查的都说美有添加ssh key
但是我是git clone 的https方式

最终只是从新定义了一下那个配置,如下:
gitconfigglobaluser.namename git config –global user.email name@gmail.com

继续执行git 命令 用户名 密码 ok 报错解决

1 0
原创粉丝点击