This question has already been answered:

Clone your project with github'a, on a working machine. After doing the actions in the code, I decided to push the commit on git:

git add -A git commit -m "Something" git push origin master 

After trying to push, the following error crashed:

Warning: Permanently added the RSA host key for IP address '104.192.143.3' to the list of known hosts. Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the repository exists.

I realized that I am doing the commits only locally, but how can I commit to my remote repository (so that I can work here and at home). Tried to do a pull request to the master, but apparently you need to create an additional branch (is this necessary?)

PS I also looked at the possibility of working with Fork , but again, if I understood correctly, then this is for working with the “alien” (interesting) repository.

Reported as a duplicate by Nick Volynkin 11 Oct '16 at 16:42 .

A similar question was asked earlier and an answer has already been received. If the answers provided are not exhaustive, please ask a new question .

1 answer 1

Judging from the message, you do not have the right to write to the main repository branch.

  • Try to write more detailed answers. Explain how to solve the problem? Please provide a minimal, self-contained example of the code that solves the problem. - Nicolas Chabanovsky
  • How these rights "declare", given that this is my repository, created earlier on the home PC. - Morozov