Finding the Largest File Stored in Your Git Repository
2017 January 30

This command will find the largest file from the output of git ls-files which outputs the path to each of the files stored in git below your current directory.

git ls-files | xargs wc --bytes | sed \$d | sort -rn
Written by Henry J Schmale on 2017 January 30