How to change git url for app on Heroku

git, heroku

Solution

I assume what you want to do is push to coastguard-quiz repo which is on heroku, so that when you `git push heroku` it updates the caostguard-quiz.herokuapp.com.

git remote rm heroku
git remote add heroku git@heroku.com:coastguard-quiz.git

Problem

When I run "git remote -v" from Terminal I get the following: ``` heroku git@heroku.com:obscure-taiga-9581.git (fetch) heroku git@heroku.com:obscure-taiga-9581.git (push) origin http://coastguard-quiz.herokuapp.com/ (fetch) origin http://coastguard-quiz.herokuapp.com/ (push) ``` I want to replace the "git@heroku.com:obscure-taiga-9581.git" part. How do I do that?

Original source