Go to Settings (macosx)> Miscellaneous > Files
In the Ignored file templates text box , type
^(CVS|SCCS|vssver.?\.scc|#.*#|%.*%|_svn)$|~$
By deleting |^\.(?!(htaccess|gitignore)$).*$ From the default, you tell Netbeans not to delete hidden files
source share