For the 3rd time a developer committed a large file in our git repository (over 100MB). It's really a pain to cleanup. How can I configure git and/or gitolite to prevent large files from ever being committed into the repo?
Thanks a lot.
You can use hooks to accomplish this. It has been discussed on stackoverflow. https://stackoverflow.com/questions/7147699/limiting-file-size-in-git-repository