title: Why doesn't Git ignore my specified file?
body: <p>I added the following line to <code>.gitignore</code>:</p>
  
  <pre><code>sites/default/settings.php
  </code></pre>
  
  <p>but when I type <code>git status</code> it shows the file as unstaged file.</p>
  
  <p>What's the problem? All other patterns work well.</p>