Baldráni Baldráni - 1 year ago 76
Git Question

.gitignore * but a subfolder seems to be buggy

So I've read the principle but somehow I don't find a way of doing what I want

This is my



And the wp-content folder is like this :

-- index.php
-- languages/
-- plugins/
-- themes/

However it does not take in account the subfolder.
I've seen that I shoudl use
but it is not working either.

What is the proper way to include every file / folder under

Answer Source

Please try this. Remember to negate the ignore of .gitignore also, otherwise your rules won't work:



This comment helped me understand what was going on.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download