Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I show .git folder in Netbeans

I have a project which I check out remotely from my VM.

Now it checks out all files except the one that he doesn't see.

Which happens to be the .git folder...

I already removed the regex from the

options->miscellenous->files

From

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

to

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

But the folder itself still doesn't get pulled...

Anyone has a solution for this?

I am using Netbeans 7.3 64 bit on windows 7.

like image 378
Sangoku Avatar asked Mar 29 '13 07:03

Sangoku


People also ask

How do I make a .GIT folder visible?

Select the Start button, then select Control Panel > Appearance and Personalization. Select Folder Options, then select the View tab. Under Advanced settings, select Show hidden files, folders, and drives, and then select OK.


1 Answers

Your solution should work, as illustrated in the comments of "Display hidden dot files and directories in NetBeans":

In Netbeans 7.1 it's also in Tools -> Options -> Miscellaneous -> Files

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

Just the remove the .* at the end and you're fine.

But all the references I have seen (like my old answer) mention that you need to restart NetBeans to see that updated pattern takes effect.
Or at least try a Source->Scan for External Changes, as mentioned in "How do I refresh Netbeans workspace?".

like image 117
VonC Avatar answered Oct 01 '22 14:10

VonC