quessg
Last Updated: February 25, 2016
·
26.2K
· skeep

Exclude files/subfolder in .gitignore

git

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 but /highcharts