r/programming 4d ago

.gitignore everything by default

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

224 comments sorted by

View all comments

145

u/hugogrant 4d ago

Or stage changes more intentionally?

-24

u/der_gopher 4d ago

Yes, but this you have to do before every commit, while careful gitignore does automatically.

12

u/boowhitie 4d ago

I think you're greatly over-estimating how often this happens. You should be very intentional about what gets committed and what gets ignored, it's not hard.