I want to ignore everything except a couple files in the top-level directory and everything in a few directories with .gitignore
My top level .gitignore is:
*
!/app/
!gbase.php
!list-secret-prices.php
The problem is that I have to put a .gitignore with one entry of:
!*
in each of the subdirectories that I want to include for it to work. I don't want to have to put a .gitignore in everyone of the directories that I want included. I want to handle everything in the top level .gitignore.