error remote origin already exists. github

 First, do a:

git remote rm origin

then

git remote add origin https://github.com/your_user/your_app.git

and voila! Worked for me!


or 


  1. Create a directory to contain the project.
  2. Go into the new directory.
  3. Type git init.
  4. Write some code.
  5. Type git adds to add the files (see the typical use page).
  6. Type git commit.
and then   

    git remote rm origin
 git remote add origin https://github.com/your_user/your_app.git

Post a Comment

Thank you

Previous Post Next Post