title: How do I get rid of a local heroku remote or app?
body: <p>Heroku tells me it recognises multiple apps. But when I want to remove one it says the app is not there. How can I get rid of it?</p>
  <pre><code>➜  sample_app git:(user-microposts) heroku pg:reset DATABASE
   ›   Error: Multiple apps in git remotes
   ›      Usage: --remote rails-tutorial-josufst
   ›         or: --app pure-crag-52432
   ›      Your local git repository has more than 1 app referenced in git remotes.
   ›      Because of this, we can't determine which app you want to run this command against.
   ›      Specify the app you want with --app or --remote.
   ›      Heroku remotes in repo:
   ›      rails-tutorial-josufst (heroku)
   ›   pure-crag-52432 (rails-tutorial-josufst)
   ›
   ›      https://devcenter.heroku.com/articles/multiple-environments
  ➜  sample_app git:(user-microposts) heroku apps:destroy pure-crag-52432
   ▸    Couldn't find that app.
  </code></pre>
  <p>On the Heroku platform there is only one repository.</p>
  <p><a href="https://i.stack.imgur.com/vvqYx.png" rel="nofollow noreferrer">Only one repository on Heroky</a></p>