gitignore by file size

#Git

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

Published: by ;

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

Current Ref:

  • til/programming/git/gitignore-by-file-size.md