如何在 Netbeans 中显示 .git 文件夹 [英] How can I show .git folder in Netbeans
问题描述
我有一个项目,我可以从我的 VM 远程检查.
现在它会检查除他没有看到的文件之外的所有文件.
恰好是 .git
文件夹...
我已经从
中删除了正则表达式options->miscellenous->files
来自
^(CVS|SCCS|vssver.?.scc|#.*#|%.*%|_svn)$|~$|^.(?!htaccess$).*$
到
^(CVS|SCCS|vssver.?.scc|#.*#|%.*%|_svn)$|~$|^.(?!htaccess$)$
但文件夹本身仍然没有被拉...
有人对此有解决方案吗?
我在 Windows 7 上使用 Netbeans 7.3 64 位.
您的解决方案应该有效,如在 NetBeans 中显示隐藏的点文件和目录":
<块引用>在 Netbeans 7.1 中,它也在 Tools ->选项 ->杂项 ->文件
^(CVS|SCCS|vssver.?.scc|#.*#|%.*%|_svn)$|~$|^.(?!htaccess$).*$
<块引用>
只需删除最后的 .*
即可.
但是我看到的所有参考资料(例如我的旧答案)都提到您需要重新启动 NetBeans 才能看到更新后的模式生效.
或者至少尝试 Source->Scan for External Changes
,如如何刷新 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.
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?".
这篇关于如何在 Netbeans 中显示 .git 文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!