Authentication failed for "http://xxxxxx"

1、配置用户信息
git config --global user.name [username]
git config --global user.email [email]
2、查询用户信息
 
git config --list
3、如果push遇到在输入密码是错误的后,就会报这个错误fatal: Authentication failed for
 
解决办法:
git config --system --unset credential.helper
 
之后你在push就会提示输入名称和密码

 亲测有效

猜你喜欢

转载自www.cnblogs.com/tiandi0808/p/11839817.html