title: Why is .gitignore not including a file prefixed by a !
body: <p>My .gitignore file reads as follows:</p>
  
  <pre><code>build/
  glucosia.xcodeproj/
  !glucosia.xcodeproj/project.pbxproj
  core-plot/framework/build
  core-plot/framework/CorePlot-CocoaTouch.xcodeproj/
  !core-plot/framework/CorePlot-CocoaTouch.xcodeproj/project.pbxproj
  .DS_Store
  Classes/.DS_Store
  </code></pre>
  
  <p>Strangely, <code>glucosia.xcodeproj/project.pbxproj</code> is not ignored, as I would expect.</p>
  
  <p>But, <code>core-plot/framework/CorePlot-CocoaTouch.xcodeproj/project.pbxproj</code> is still being ignored.</p>
  
  <p>Any ideas?</p>
  
  <p>Thanks!</p>