Git still sees and can read gitignored files, they just dont get added to the worktree
So you just dont commit this gitignore. I tend to use to add * to gitignores in folders to basically hide that entire folder if i dont want to have that folders name in the toplevel gitignore.
76
u/Round_Credit_5158 2d ago
So what really happens if you do this?
5
u/Altruist479 1d ago
.gitignore
1
u/NomadLimen 1h ago
\.*
1
u/laconic_hyperbole 1h ago
Potable Hole + Bag of Holding = Fun!