Answer the question
In order to leave comments, you need to log in
How to authenticate in remote Git?
I deleted the repository from Github and I'm trying to re-upload it there, but it gives this error.
Failed to authenticate to Git remote
> git push -u origin main
remote: No anonymous write access.
fatal: Authentication failed for
Answer the question
In order to leave comments, you need to log in
configure the ssh key and forget about passwords. Generate a key, add the public part to the account settings - everything works.
https://docs.github.com/en/authentication/connecti...
remote url in the repositories will also need to be updated (replace https)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question