Heroku deleting files upon git push?
media/ # cache and images were commited before .gitignored was added cache/ # store thumbnails images/ # store images .gitignore
the .gitignore has
The problem is whenever I git push to heroku, all my testing uploads are wiped out by git. Is there a way to deal with this?
One Solution collect form web for “Heroku deleting files upon git push?”
This isn’t an issue with Git, but rather with Heroku. Heroku’s file system is ephemeral, and is reset between deploys. Use a service like Amazon S3 to store uploaded files.