tangled
alpha
login
or
join now
mpadge.tngl.sh
/
dotfiles
1
fork
atom
dot dot dotfiles
1
fork
atom
overview
issues
pulls
pipelines
update url for git-big-script
mpadge.tngl.sh
2 months ago
4dfa237a
f0121a0a
+1
-1
1 changed file
expand all
collapse all
unified
split
system
git-big-script.bash
+1
-1
system/git-big-script.bash
···
1
1
-
# https://blog.ostermiller.org/git-remove-from-history
1
1
+
# https://blog.ostermiller.org/removing-and-purging-files-from-git-history/
2
2
# This command lists largest 20 files in git history of *main* branch
3
3
git rev-list main | while read rev; do git ls-tree -lr $rev | cut -c54- | sed -r 's/^ +//g;'; done | sort -u | perl -e 'while (<>) { chomp; @stuff=split("\t");$sums{$stuff[1]} += $stuff[0];} print "$sums{$_} $_\n" for (keys %sums);' | sort -rn | head -n 20