3 ms·
> There should be a .local.gitignore to somesuch I think .git/info/exclude is what you're looking for? (and also the global ~/.config/git/ignore)
by arp242 3y ago
> There should be a .local.gitignore to somesuch
I think .git/info/exclude is what you're looking for? (and also the global ~/.config/git/ignore)
- RHSeeger 3y agoI've used that file before but... it always felt sort of hacky. And every time I want to use it, I need to figure out where it is. It really feels like there should be a more obvious, straight forward way to do it. Admittedly, "user friendly" is not git's strong suit.
- arp242 3y agoThe .git directory seems like the obvious location for it; I agree that info/exclude isn't the most obvious path (I had to look up what the exact path was again for my previous comment), but all things considered that seems like a minor issue. I suppose you could symlink .git/ignore to .git/info/exclude or something in the git template.
- RHSeeger 3y ago> The .git directory seems like the obvious location for it The same location as .gitignore seems like the obvious location for it, to me.