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

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

Share this on → Mastodon Twitter LinkedIn Reddit

A selected list of related posts that you might enjoy:

*****
Written by Henry J Schmale on 2017 January 30
Hit Counter