title: Can't exclude a folder using .gitignore
body: <p>I can't exclude files from <code>.idea</code> folder from tracking by git. It is on the same level as <code>.gitignore</code> file and my <code>.gitignore</code> contains:</p>
  
  <pre><code>.idea
  </code></pre>
  
  <p>and even:</p>
  
  <pre><code>idea
  </code></pre>
  
  <p>Any advice guys?</p>