I have a website project that has more than 50,000 unimportant files (to development) in some directories.
/website.com/files/1.txt
/website.com/files/2.txt
Creating a sub-repo is one solution, but you should make that sub-repo a submodule.
That way:
git submodule update
" (that is without filling the 'files
' contentgit submodule update
after the git submodule init
will be enough to get back the right version of the 'files
' content.