github报错权限问题fatal:Authenticationfailed

阅读 1152 发表时间 2017-05-10 15:47:16
git github

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

或者错误信息为:

fatal: Authentication failed for 'https://xxxxx.git/'


网上查的都说没有添加ssh key 


但是我是git clone 的https方式

最终只是从新定义了一下那个配置,如下: 


git config –global user.name "name"

git config –global user.email "name@gmail.com"


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

0个回复
有思考的问答, 才是有价值的问答, 否则将无任何记录价值.
关注极客云图了解更多内容