My .gitignore file is:
precompiled
!deployments
I want to exclude the ./precompiled directory, but not ./deployments/xxx.war/WEB-INF/application/precompiled, more precisely I want to include EVERYTHING in ./deployments folder…
I tried with several combinations (!./deployments/**/*, ./precompiled/**/*, etc.) with no luck.
How can I do this?
Try with
This will exclude only the
precompiledfolder at the root, not theprecompiledsubfolders