Hi,
I've been comiting to my github repository on a sporadic schedule. Last time was about a month ago (Jan 31st)
Since then, nothing changed: my github password didn't change, I didn't even touch my git, nor sourcetree.
Today I have to commit a crucial bugfix, and when I try, I get the following error:
git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags origin master:master
fatal: HttpRequestException encountered.
Une erreur s'est produite lors de l'envoi de la demande.
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/jeango/TwinCATBrowser/'
Pushing to https://github.com/jeango/TwinCATBrowser
Terminé avec des erreurs, voir ci-dessus
I tried the following:
- Refresh OAuth token
- Re-create a new personal access token (and switched to basic to use that token as password)
- Update embeded git version
- Tried to push with terminal
- git credential-manager clear
None of this worked. I had to restrain myself not to drive a fist through my computer's screen
Edit: I disabled two factor authentication in github, and I could then do a push. But I don't want to disable 2 factor in the long run.