C
C
CityzenUNDEAD2021-04-24 11:55:14
git
CityzenUNDEAD, 2021-04-24 11:55:14

How to push a local repository to github?

Good afternoon!
I created a local repository from a folder with files on my computer, created a new repository in github and am trying to push from the local repository to github. When I try, I get this message.
λ git push origin master
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

In the users folder, I already have the public and private keys created earlier.
What could be wrong then?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Vasilyev, 2021-04-24
@vasilyevmn

https://docs.github.com/en/github/authenticating-t...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question