How can I unignore every folder with name config
? Recursively
For example I want to put my /
under git. I put *
in .gitignore
to ignore everything. Now I want unignore folders and subfolders and subsubfolders... with name config
.
Suppose I don't know full path to this config
folders. I want something like: !**/config/**
, but it doesn't work.
my .gitignore
:
*
!**/config/**
May be someone suggests another way to do it?