Git pushed “Fatal: Authentication failed”
Question why
You set up two-step validation earlier
If you enabled two-factor authentication in your Github account you won't be able to push via HTTPS using your accounts password. Instead you need to generate a personal access token. This can be done in the application settings of your Github account. Using this token as your password should allow you to push to your remote repository via HTTPS. Use your username as usual.
The solution
Update the branch
git remote -v
git remote remove origin
git remote add origin [email protected]:user/repo.git
## Resources
[1].Git push results in “Authentication Failed”
Reproduced in: https://www.cnblogs.com/OneFri/p/11123584.html
Read More:
- git push error failed to push some refs to solution
- git push fatal Error: HttpRequestException encountered.
- GitHub upload failed: git push error: failed to push some refs to exception handling
- Git failed to submit data error: failed to push some refs to’https://github.com/XXXXXXX/gif.git’
- How to solve error: failed to push some refs to ‘[email protected]:……git pull conflict
- Inexplicable exception 007: git error: authentication failed for
- remote: XXX Incorrect username or password (access token) fatal: Authentication failed for XXX
- [Git] git pull pull remote git push to remote git commit submit reject
- Pull the git warehouse code IDEA reports an error: Clone failed: Authentication failed for’http://10.xx.XXXXXXXXXXXXXXXXX’
- Git authentication failed
- Remote: http basic: access denied, fatal: authentication failed for error resolution: wrong password
- 【Linux】psql: FATAL: Ident authentication failed for user “username” Error and Solution
- Error report after solving git push origin master
- How to Fix GIT Push Error
- Git error prompt: fatal: not a git repository (or any of the parent directories):. Git
- psql: FATAL : password authentication failed for user “postgres”
- git clone Error “Clone failed: Authentication failed for xxxxx”
- Git authentication failure solution, due to the problem of password modification
- Git push failed, prompt unpack error / unpack failed solution
- git clone appears fatal: index-pack failed problem solution