My project contains the following directories:
moduleA/jars/
moduleB/jars/
moduleC/jars/
...
I want git to ignore all those jars/
folders, so I created a .gitignore file with the following content:
**/jars
Then I commited & pushed everything to remote git repository. But I still see all those jars/
folders in remote git repository, why?