Git has the .gitignore
file which is for a blacklist on excluded files/folders.
Is there an adversary function to this? Here is my use case.
BigDir/
DirAA/
DirAB/
DirAC/
DirAD/
DirAE/
.....
Is there a way to just say "allow only these directories?" (a whitelist)
Maybe something like...
.gitkeep
DirAA/
DirAC/
which would result in All other directories BUT DirAA
and DirAC
to be ignored.
I would just add each other directory to the .gitignore
but these folders keep growing, and I wouldn't want to keep adding each new folder.