title: Netbeans displays files as ignored, but they're not in gitignore
body: <p>Netbeans displays one folder and all underlying files as ignored by VCS (I use Git), but when I use <code>git status</code> or Atlassian SourceTree the files are not ignored and listed as changed and ready for commit.</p>
  
  <p>Specifically NetBeans IDE 7.1 (Build 201112071828) - PHP build, Git plugin version: 1.1.1.1 (shipped with NetBeans IDE 7.1 (Build 201112071828)), CLI git version 1.7.5.4</p>
  
  <p>The ignored folder is <code>www/inc</code> . Unignoring doesn't help. Ignoring and unignoring again changes the <code>.gitignore</code> file accordingly, but the folder is still displayed grey with <code>(I)</code> - the ignored status marker. Also I've noticed some buggy behavior: subfolders of <code>www/inc</code> often turn grey only if I unfold them to see their content, but sometimes they turn grey when I unfold the already grey <code>www/inc</code>.</p>
  
  <p>I checked <code>.gitignore</code> in the top project folder and all the way to ignored one and in the whole project source tree. There's only one file and it states</p>
  
  <pre><code>/nbproject/private/
  /log/
  /www/debuglogs/*.log
  /www/images/goods/*/*
  /www/inc/content/
  </code></pre>
  
  <p>The <code>.git/config</code> file doesn't contain any mentions of ignoring. In <code>~/.gitconfig</code> global gitignore is defined as <code>/Users/sheershoff/.gitignore_global</code> and the global ignore file is the following:</p>
  
  <pre><code>*~
  .DS_Store
  </code></pre>
  
  <p>There's no <code>.git/info</code> folder in local Git repository, and the remote bare repository has the <code>project.git/info/exclude</code> file, but it consists of several commented out lines, which, I believe, are default.</p>
  
  <p>Concerning Netbeans, I tried cleaning out cache folder and setting global IDE ignored files settings (<code>Tools-&gt;Options-&gt;Miscellaneous-&gt;Files</code>) to an empty string and restarting the IDE. Also I checked project ignored folders settings - it is empty.</p>
  
  <p>After hours of resultless but effortful digging and googling I managed to resolve similar problem on Windows machine (same Netbeans build number) with the same project pulled from the same remote repo with the same folder disrespectfully ignored by editing some Netbeans properties files (should I mention the <code>ignore.path</code> setting is empty here and was empty there on Windows, and I also set all the includes settings to empty strings since I don't use them in the project). And as far as I can remember, it was something with <strong>includes</strong> section, not with <strong>ignore</strong> section. Though, can't find it in the repo history, probably it was in the private netbeans project settings or some global netbeans settings.</p>
  
  <p>And now this bug repeats on my Mac machine at work and nothing helps me to make Netbeans show the not ignored files as not ignored.</p>
  
  <p>What should I do to make them displayed normal in Netbeans, as they're not ignored according to other Git tools?</p>