gitignore by file size

gitignore by file size

http://stackoverflow.com/questions/4035779/gitignore-by-file-size

find . -size +1G | cat >> .gitignore

For the actual application purpose, I would prefer to overwrite the .gitignore file, which only requires a single >

find . -size +50M | cat > .gitignore

Planted: by ;

L Ma (2015). 'gitignore by file size', Datumorphism, 12 April. Available at: https://datumorphism.leima.is/til/programming/git/gitignore-by-file-size/.