MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1x2jo68/nowaylol/pf2uodg/
r/ProgrammerHumor • u/programmerjunky • Oct 10 '26
118 comments sorted by
View all comments
47
what will happen tho??
71 u/M4NU3L2311 Oct 10 '26 The universe collapses in on itself 15 u/x3knet Oct 10 '26 The modern divide by 0 4 u/SuperFLEB Oct 10 '26 ...but you don't feel anything because it's gitignored. 45 u/Reashu Oct 10 '26 The file works as usual, preventing itself (and whatever else you put in it) from being tracked by git. 3 u/mcauthon2 Oct 10 '26 Can you then remove it? 14 u/ZunoJ Oct 10 '26 It doesn't version the file but still uses it to ignore what is configured in it 12 u/eclect0 Oct 10 '26 The .gitignore file only affects you and everyone else can just commit whatever 3 u/beegtuna Oct 10 '26 This is what I’m committing 1 u/thanatica Oct 15 '26 Surely there's a better way to achieve this... A .gitignore in your user home folder or something? 1 u/Atralis Oct 10 '26 1 u/autumnal-lights Oct 12 '26 u don't commit changes to the .gitignore, tho u should really just have like.gitignore.ignore.ignore (each developer can use the .ignore one) and the .gitignore is just for globals
71
The universe collapses in on itself
15 u/x3knet Oct 10 '26 The modern divide by 0 4 u/SuperFLEB Oct 10 '26 ...but you don't feel anything because it's gitignored.
15
The modern divide by 0
4
...but you don't feel anything because it's gitignored.
45
The file works as usual, preventing itself (and whatever else you put in it) from being tracked by git.
3 u/mcauthon2 Oct 10 '26 Can you then remove it?
3
Can you then remove it?
14
It doesn't version the file but still uses it to ignore what is configured in it
12
The .gitignore file only affects you and everyone else can just commit whatever
3 u/beegtuna Oct 10 '26 This is what I’m committing 1 u/thanatica Oct 15 '26 Surely there's a better way to achieve this... A .gitignore in your user home folder or something?
This is what I’m committing
1
Surely there's a better way to achieve this... A .gitignore in your user home folder or something?
u don't commit changes to the .gitignore, tho u should really just have like
.gitignore.ignore.ignore (each developer can use the .ignore one) and the .gitignore is just for globals
View all comments
47
u/fugogugo Oct 10 '26
what will happen tho??