I have an images folder that was used for tracking and which I did not track using: git rm -r --cached images .
I also added images/ to my gitignore. However, I am afraid that when I lock and pull onto my production server, the image folder will be deleted. The reason is that the github application actually shows that the files are deleted.
So, how can I prevent locally deleted, and then not verified and ignored files from being deleted on the production server on git pull ?
source share