Lets say I have ".foo" in my global .gitignore and that works great for all of my current projects (and lets say that there is a lot of them, so I want to keep this in my global ignore file).
Now, I'm starting a new project that uses .foo files everywhere.
How can I "undo" the exclusion of .foo files defined in my global ignore for just this specific project?
This means I can just git add . when working with the new project and have it pick up all the .foo files, but if I run git add . in any other project then the .foo files are ignored.