title: After git push heroku - uploaded files on Heroku are lost
body: <p>My fairly basic application allows users to upload avatars.</p>
  
  <p>The application is deployed to Heroku with</p>
  
  <pre><code>$ git add .
  $ git commit -m "description"
  $ git checkout master
  $ git merge my-cool-new-feature
  $ git push heroku
  </code></pre>
  
  <p>The problem is, every time I push changes to Heroku, all files uploaded to Heroku are lost. I thought, the problem was that the folder/files were under version control, so I added the folder to .gitignore</p>
  
  <pre><code># Ignore User generated files
  /public/system/*
  </code></pre>
  
  <p>and removed the files from the repository.</p>
  
  <pre><code>$ git rm -rf --cached public/system
  </code></pre>
  
  <p>But the problem persists. Can you point me in the right direction?</p>