I understand that a .gitignore file cloaks specified files from Git\'s version control. I have a project (LaTeX) that generates lots of extra files (.auth, .dvi, .pdf, logs,
To exclude folder from .gitignore, the following can be done.
!app/ app/* !app/bower_components/ app/bower_components/* !app/bower_components/highcharts/
This will ignore all files/subfolders inside bower_components except for /highcharts.
bower_components
/highcharts