I have the following in my .gitignore:
*.log
/bower_components/*
/node_modules
!/bower_components/v-accordion
!/node_modules/todomvc-app-css/*
I added the last two lines after I installed those components, so that may be the issue, but I cannot tell.
Either way, I would like to track changes to those directories as I am actively customizing them and pushing to production.
However, I cannot seem to get Git to track them.
What am I doing wrong and how can I resolve this?
Edit:
Newer version of .gitignore:
*.log
/bower_components/**
!/bower_components/v-accordion/
!/bower_components/v-accordion/**
/bower_components/angular-bootstrap-calendar/
!/bower_components/angular-bootstrap-calendar/
!/bower_components/angular-bootstrap-calendar/**
/node_modules/
/node_modules/**
!/node_modules/todomvc-app-css/
!/node_modules/todomvc-app-css/**