Let\'s say I have ignored a directory, but I want to unignore specific subdirectories therein. So I have the setup:
/uploads/
/uploads/rubbish/
/uploads/rubb
Was trying to figure out how to include a specific folder when excluding all folders with the generic exclusion
**/build
if you add the /* to the end of your generic exclude you continue to exclude all build files **/build/*
Then you add another line to correct for the path that you want to be included to look like
!**/folder/build/*
leaving us a gitignore that reads
**/build/*
!**/folder/build/*