This same question has been asked already, but the accepted answer isn't working for the new version of Netbeans 8.2. The .git directory that Netbeans isn't showing is at the same level of .gitignore, at the root of the project.
So, how to show it?
This same question has been asked already, but the accepted answer isn't working for the new version of Netbeans 8.2. The .git directory that Netbeans isn't showing is at the same level of .gitignore, at the root of the project.
So, how to show it?
This appears to not work as expected in both Netbeans 8.1 and 8.2, however here is a workaround.
I noticed that no matter what you do in Settings -> Miscellaneous -> Files -> Files Ignored by the IDE, the .git folder does not appear in the Files panel.
However, if you were only interested in the contents of the .git folder then creating an alias to it worked for me:
ln -s .git .git-alias
Or for Windows,
mklink /J .git-alias .git
(Read more about creating junctions or symbolic links and why you would want to prefer one over the other here and here respectively)
.git*
foldersAfter that, starting from the default settings, I changed the Files Ignored by the IDE
to remove .git so that it becomes:
^(CVS|SCCS|vssver.?\.scc|#.*#|%.*%|_svn)$|~$|^\.(hg|svn|cache|DS_Store)$|^Thumbs.db$
And the .git-alias folder appeared fine: