title: How to ignore all hidden directories/files recursively in a git repository?
body: <p>I'd like to have Git ignore all hidden files and directories. 
  i.e. </p>
  
  <ul>
  <li><code>.aptitude</code></li>
  <li><code>.ssh/</code></li>
  <li><code>.bash_rc</code></li>
  <li><code>config/.hidden</code></li>
  </ul>
  
  <p>Is there a simple rule to cover this without specifically adding each entry?</p>