Project

General

Profile

Bug #851

Updated by Jules Waldhart about 8 years ago

asset repo is too big due to unadequate file changes, big file add/remove in the history. 

 I found that one-liner that shows all the files in the history, sorted by size. It would be great to remove some of biggest and useless from the history (with git filter-branch). 

 <pre> 
 git gc && join -e ERROR -a 2 -j 1 -o 2.1,2.3,1.2 --check-order <( git rev-list --objects --all | sort -k 1 ) <( git verify-pack -v .git/objects/pack/pack-*.idx | gawk '( NF == 5 && $2 == "blob" ){print}' | sort -k1 ) | sort -k2gr 
 </pre>

Back