Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You're joking of course, but that likely won't do anything useful.

If it's tracked, then ignore has no effect. If it's not tracked, then you might as well use .git/info/excludes which is pretty much the same thing but not tracked, or you can use a global excludes file, like ~/.gitignore is common (you have to configure git to point at it, iirc).

It _could_ make sense to ignore the .gitignore if some other tool is parsing and using that file, but that pattern is...troublesome so I hope not.



~/.config/git/ignore


Hm, did not know that had a default, thanks.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: