[git-users] Finding and eliminating big files

2014-07-21 Thread Dale R. Worley
Here is how I find big files that have gotten into the repository. The shell script grovels through the repository history listing every file in every commit in the history of HEAD, along with its length. Duplicates are removed from this list, and then a space-use analysis is done of the files, gro

[git-users] Finding and eliminating big files

2014-07-21 Thread Dale R. Worley
Here's an improved version of the script that finds what refs and what commits contain a particular file blob. You give it the blob (the full blob) as an argument and it traces what commits contain it, and what refs and what reflog lines point (directly or indirectly) to those commits. As far as