git add -A ignore large files
find . -size +1G | cat >> .gitignore
# Remember to run it each time you want to update the gitignore!
Are there any code examples left?
New code examples in category Shell/Bash
find . -size +1G | cat >> .gitignore
# Remember to run it each time you want to update the gitignore!