Search code examples
ruby-on-railsgitgithubssh

Please make sure you have the correct access right and the repository exists github


When I try to push my changes to my github repo I am receiving the error:

Fatal: 'git@github.comRedHoodJT1988/hello_app.git' does not appear to be a git repository Fatal: could not read from remote repository.

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

I have looked at the documentation and completed the steps here:https://help.github.com/articles/error-permission-denied-publickey/

As well as looked at other sites and nothing is working. I am able to connect to ssh because I receive the message :Hi RedHoodJT1988...

I am at a loss for what to do next. I am not using a cloud IDE I am on a macbook pro if that helps. Also, not sure if it matters, I am developing a Ruby on Rails application.


Solution

  • You're missing a colon in your address and need to change your remote named origin

    git remote remove origin
    git remote add origin https://github.com/RedHoodJT1988/hello_app.git