I have my .gitignore file like so
.gitignore
/data*
/node_modules/*
/bower_components/*
I want to have the directories pushed and pulled but not the contents of the directory. As it is above, the directories are ignored entirely. Is this possible?