title: Clean git repo on Heroku
body: <p>The situation is as follows:</p>
  
  <p>We have some project which persists on Github, and deploy it to Heroku, which has its own mini-Git. Some changes were applied directly to Heroku (cloned repository from Heroku, made changes and pushed). In a meanwhile the master branch on Github has gained also some changes.</p>
  
  <p>Now when I want to push the main repository to Heroku, pushing fails because commits on Heroku are out of sync with local commits.</p>
  
  <p>I do not want to merge with changes on Heroku - I just want them to vanish.</p>
  
  <p>Is there some way to clean git repository on Heroku to push then my local repo from the very beginning?</p>
  
  <p>I do not want to destroy application and recreate it again because it has some paid services and I am just an collaborator.</p>