Heroku: How to change a Git remote on Heroku
If you’re working on the heroku remote (default): If you want to specify a different remote, use the -r argument: EDIT: thanks to Алексей Володько For pointing it out that there’s no need to delete the old remote.