title: How to ignore all dist folders except the one?
body: <p>we do have a few folders in our projects called <code>dist</code>. These shall be ignored by git. On the other hands just putting <code>dist/</code> into the <code>.gitignore</code> file does have side effects when using bower, since the dist folders within <code>bower_components/</code> are ignored as well.</p>
  
  <p>Any suggestions on how to correctly define a rule, that ignore <code>dist</code> folders except the ones within <code>bower_components</code>?</p>