We have a PHP server with WordPress project on /var/www/
location. Entire /www/
root is under source control in Git. So when I push new code it deploys immediately and we get new fresh code.
At some point we have use image building tool on server which generates images from some data we put that in some package like.
/var/www/images/*.png
So I successfully generate image on that location; but when I add new changes and deploy again git removes all these png
files from package.
I tired to add this to git ignore
but that didn't help solve the problem.