title: Gitignore for all files in folders and subfolders
body: <p>I have a <code>.gitignore</code> file in this directory</p>
  
  <pre><code>/Users/keatooon/pos_dev
  </code></pre>
  
  <p>I want to ignore all files in this folder and also files in subfolders of this directory <code>/Users/keatooon/pos_dev/apps/POS/ipad/native/www</code>:</p>
  
  <pre><code>/Users/keatooon/pos_dev/apps/POS/ipad/native/www/default
  /Users/keatooon/pos_dev/apps/POS/ipad/native/www/default/app
  /Users/keatooon/pos_dev/apps/POS/ipad/native/www/default/dist
  /Users/keatooon/pos_dev/apps/POS/ipad/native/www/default/images
  /Users/keatooon/pos_dev/apps/POS/ipad/native/www/default/ionic
  /Users/keatooon/pos_dev/apps/POS/ipad/native/www/default/index.html
  
  /Users/keatooon/pos_dev/apps/POS/ipad/native/www/skinLoader.html
  </code></pre>
  
  <p><strong>How to do it?</strong></p>
  
  <p>I've tried to add all these in <code>.gitignore</code> file but it couldn't work:</p>
  
  <pre><code>apps/POS/ipad/native/www/default/
  
  apps/POS/ipad/native/www/*
  </code></pre>