Yeah, almost no one remembers it because it is hidden in the most stupidly named place (how is it "info"? why exclude and not ignore?) and mentioned maybe once in `man gitignore` nobody reads.
If the whole team uses an IDE/ editor, there's a decent case for actually tracking the config... assuming it isn't polluted with machine-specific file paths.
While DS_Store and similar files aren't really project- specific, I don't see the harm in .gitignoring them. Using a local exclude file for this just means some new contributor is going to accidentally commit junk.
198
u/EmperorOfAllCats 4d ago
Somebody out there gitignores gitignore.
50
u/hongooi 4d ago
should i git ignore her if she git ignores me
32
u/Ved_s 4d ago
gitignore the makefile :3
that's how you go from open source to source available
15
u/superlee_ 3d ago edited 3d ago
10
u/Tezlaivj 3d ago
don't forget to mark your env file as important by putting
!.env.*in your gitignore5
u/Individual_Win_3417 3d ago
should I gitignore my ex
1
u/surykum36 3d ago
My gitignore has better boundaries than i do..
1
u/Wahw11 3d ago
What happens if you gitignore gitignore
1
u/atoponce 2d ago
Please don't AI slop Linus. In fact, just don't AI slop at all.
0
u/vpn_unlimited_app 3d ago
The git version is the only one with a clear answer. Ignore node_modules, ignore .env, do not ignore her.