$ git remote rm heroku // delete the heroku remote $ heroku git:remote -a NAME_OF_HEROKU_APP // reatributte the heroku app