ingnore large files in github

C++
find ./* -size +100M | cat >> .gitignore
Source

Also in C++: