I am using git / github for a project. It is mostly to host code sources, but it also contains some large images. I will have to update the large images from time to time, but I don't want to keep the history of it, I only want the latest version in my git / github.
Is there a way to say to git: "keep this file, but don't keep any history of it"? If not, how can I manually and safely delete the history of my file right after commit / push?
Thank you for your help!