That's why we have a gitignore for each project as opposed to a top level gitignore ignoring all build/ folders anywhere in the repo.