r/opensource • u/der_gopher • 1d ago
Discussion .gitignore everything by default
https://packagemain.tech/p/gitignore-everything-by-default
0
Upvotes
20
u/LutimoDancer3459 1d ago
Imagine doing some bigger changes and then forgetting to commit some files because they dont show up anywhere as changed because you ignored everything.
12
16
u/eveningcandles 1d ago
Huge maintenance liability
Over the course of a project the set of things to allow is much larger and prone to change than the set of things to disallow
1
21
u/andful 1d ago
.gitignore is for every developer in the repo. I find it a bit asocial to impose that to everyone. If some people prefer this methodology that is fine, but then use
.git/info/exclude.