GitHub "fatal: remote origin already exists"
Asked 07 September, 2021
Viewed 2.1K times
  • 60
Votes

I am trying to follow along Michael Hartl's Rails tutorial but I've run across an error.

I signed up on Github and issued a new SSH key and made a new repository. But when I enter the next line into the terminal I get the following error:

Parkers-MacBook-Pro:.ssh ppreyer$ git remote add origin [email protected]:ppreyer/first_app.git
fatal: remote origin already exists.

Just wondered if anybody else has run across this problem?

19 Answer