I found out that it wasn't such a good idea to keep tracking the binary. The size of our repository is growing at a much faster rate than I would like. Is it possible to purge this file from git?
No one even needs to know it existed.
I found out that it wasn't such a good idea to keep tracking the binary. The size of our repository is growing at a much faster rate than I would like. Is it possible to purge this file from git?
No one even needs to know it existed.
Theres a tool called BFG especially made for this task.
it has the advantage that sha1's referenced in commit messages will be updated too!
While being written in scala its easy to setup and run as a command line program.
You'll want to use git filter-branch
to rewrite the repository. You'll need to synchronize it across all users though and have a stop/restart day.
See these fine questions and their answers, which explain how to use git filter-branch to do what you want to do:
For storing new big files in the future, I'd recommend using git-annex