What is the git command to keep the history file size to a minimum?
Scenario is, due to platform issue, I need to commit the WAR file for my Java web app every time it gets built and re-built. I can easily "add" it to git when during the build process it got deleted and recreated causing it to be a different file even the same file name.
Now what I want to be able to do is to keep the history size to a minimum, my WAR size is about 60MB and is growing a bit each time. I don't want to have a new version of that 60MB file for each commit I will do.
What should be done to achieve this?