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
Hit Counter

Remember you can also subscribe using RSS at the top of the page!

Share this on → Twitter LinkedIn Reddit