git filter-repo --analyze

Category: Git - Advanced

git filter-repo --analyze

Profile repository history for cleanup

Scans the whole history and writes a report of the largest files, biggest extensions, and busiest paths into .git/filter-repo/. It is the first step before rewriting history with --strip-blobs-bigger-than or --path. The analysis itself changes nothing.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.