MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1x2jo68/nowaylol/pf55epz/
r/ProgrammerHumor • u/programmerjunky • Oct 10 '26
118 comments sorted by
View all comments
Show parent comment
6
i have .local.gitignore as both a gitignore file and as an excluded file in my global git config, its quite nice
.local.gitignore
2 u/ozh Oct 11 '26 You have core.excludesfile=.local.gitignore ?I have this, which works fine but I still have to add .local.ignore to the .local.gitignore... 1 u/Firewolf06 Oct 11 '26 i have that, plus .local.gitignore in ~/.config/git/ignore 1 u/ozh Oct 11 '26 It won't be of any use I think. ~/.config/git/ignore is read only if core.excludesfile isn't set
2
You have core.excludesfile=.local.gitignore ?
core.excludesfile=.local.gitignore
I have this, which works fine but I still have to add .local.ignore to the .local.gitignore...
.local.ignore
1 u/Firewolf06 Oct 11 '26 i have that, plus .local.gitignore in ~/.config/git/ignore 1 u/ozh Oct 11 '26 It won't be of any use I think. ~/.config/git/ignore is read only if core.excludesfile isn't set
1
i have that, plus .local.gitignore in ~/.config/git/ignore
~/.config/git/ignore
1 u/ozh Oct 11 '26 It won't be of any use I think. ~/.config/git/ignore is read only if core.excludesfile isn't set
It won't be of any use I think. ~/.config/git/ignore is read only if core.excludesfile isn't set
core.excludesfile
View all comments
Show parent comment
6
u/Firewolf06 Oct 10 '26
i have
.local.gitignoreas both a gitignore file and as an excluded file in my global git config, its quite nice