Answer the question
In order to leave comments, you need to log in
How to fix an error when changing an account?
I decided to change my github account. executed commands with new parameters
$ git config --global user.name "NewName"
$ git config --global user.email "NewEmail"
when uploading files to the repository writes
$ git push -u origin master
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question