I want to ignore /foo but not /foo/bar but it just ignore everything in foo.
/foo
!/foo/bar
I doesn’t work for me. I think this kinds of overwriting works in gitignore. Am I doing something wrong or the syntax is different with what I have in mind. I could not find anything in documentation page. Is there a solution to have what I described?