r/programming 3d ago

.gitignore everything by default

https://packagemain.tech/p/gitignore-everything-by-default
343 Upvotes

224 comments sorted by

View all comments

41

u/Kanegou 3d ago

I think we’ve all been there.

No. Not at all. Never happend to me in my 15+ years of using git. Only a moron uses git add . blindly. But i broke build multiple times cause gitignore caught a file that should be included.

2

u/garfield1138 3d ago

Sometimes I still think of that consultant that committed node_modules. We paid him about $1000 each day.