So my problem is that, i've created a .gitignore(to ignore one subfolder, but not the content of a specific folder)
My working tree is like:
A
|___
| |
B C
I want to ignore ALL the content inside C, but it should not ignore a specific folder inside C.
Here's my .gitignore
!www/
www/*
!www/wp-content/
www/wp-content/*
!www/wp-content/themes/
www/wp-content/themes/*
!www/wp-content/themes/ako-child
So to make it more understandable, it should ignore www completely, execpt ako-child.
The problem is, that it ignores EVERYTHING, also the content inside /ako-child.
And my git says:
Untracked files: (use "git add ..." to include in what will be committed) www/
I hope someone can help me out.. Kind regards