Authentication failed身份验证失败,大概率账户失效或者密码错误
push的时候遇到这个问题,需要重新配置账号密码
cmd界面执行语句,重置账号密码
git config --system --unset credential.helper
执行时可能会遇到报错
git error: could not lock config file C:/Program Files/Git/etc/gitconfig: Permission denie
原因是系统文件权限不够,无法操作文件。只需找到按路径找到etc,把权限都勾上即可
完成后,再次push 代码,输入正确的账号密码即可