It kind of inherits jesse. The items in .gitignore are relative to their current location. You can write write a regular expression that will match both the parent .build and the child .build for example but I find this is easier to understand.