I have a directory for images uploaded through the admin page of my
But whenever I redeploy the app, the images in my local environment
overwrite those in the server (which is pretty much expected, although
I already tried using .gitignore and the exclude file to ignore the
folder, but it ends up erasing all the images of the folder in the
production environment after the deploy, which is even worse.
How do I configure git or the cap script to prevent this behavior (of
my local images overwriting the online ones after deploy)?
I do have to prevent this behavior by only managing my git commits and
a capistrano file, since morph app space doesn’t provide any shell
access to the server…
I’m kind of desperate to solve this.
Sorry for any english mistakes… I’m not from an english speaking