E
E
Evgeniy Pishelevsky2021-11-14 19:14:04
git
Evgeniy Pishelevsky, 2021-11-14 19:14:04

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

1 answer(s)
T
TheAndrey7, 2021-11-14
@TheAndrey7

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 question

Ask a Question

731 491 924 answers to any question