1

I can't see my project's .gitignore files within my netbeans program.

Is there a way to make them appear within the list of files? I could not find a way.

1 Answer 1

1
  • Open the NetBeans Options

  • Click on the 'Files' tab

  • Under 'Ignored Files Pattern', the default is:

    ^(CVS|SCCS|vssver.?\.scc|#.*#|%.*%|_svn)$|~$|^\.(?!htaccess$).*$

  • This means that, by default, NetBeans ignores all files beginning with '.' except for .htaccess

  • You can update this regex to the following to also exclude .gitignore:

    ^(CVS|SCCS|vssver.?\.scc|#.*#|%.*%|_svn)$|~$|^\.(?!(htaccess|gitignore)$).*$

  • Click OK, and NetBeans will immediately begin displaying your .gitignore files.

Not the answer you're looking for? Browse other questions tagged or ask your own question.