I have a folder public/data1/images. In that folder are images that are used throughout the database.
I'm having a problem when I do git push origin master - it overwrites the images that the database uses.
How can I keep the images that are being used in the database and not overwrite those files when pushing to the server? I have tried to use git ignore but I'm not keeping the images on the server.
 
     
    