Sebastien Taggart


Building a Better Web

Install and Enable GIT Large File Support in OSX

Install GIT large file support:

brew install git-lfs

Then browse to your repository directory and run

git lfs install

You'll see the message "Git LFS initialized."

Find your top 10 largest files with

find ~/Documents/path/to/repo -type f -exec du -h {} + | sort -rh | head -n 10

Then add the types that make sense, e.g.

git lfs track '*.mp4'

(git lfs track to see a list of all tracked paths, files, and types)

 

Tags