mianmalife / notebook

记录一下
2 stars 0 forks source link

git操作出现fatal: Authentication failed for错误解决 #3

Open mianmalife opened 6 years ago

mianmalife commented 6 years ago
  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就会提示输入名称和密码