我如何在Netbeans中显示.git文件夹 [英] How can I show .git folder in Netbeans

查看:130
本文介绍了我如何在Netbeans中显示.git文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个项目,可以从我的虚拟机远程查看。



现在查看除了他没有看到的文件外的所有文件。



碰巧是 .git 文件夹...



我已经从

  options-> miscellenous->文件

From

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

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

但是文件夹本身仍然没有被拉到...



任何人都有解决方案吗? / p>

我在Windows 7上使用Netbeans 7.3 64位。

解决方案

您的解决方案应该可以工作,如


在Netbeans 7.1中,它也位于工具 - >选项 - >杂项 - >文件




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




只需在最后删除。* 即可。 p>

但是我见过的所有参考文献(如我的 old answer )提到您需要重新启动NetBeans才能看到更新后的模式生效。

或者至少尝试源代码 - >扫描外部更改,如如何刷新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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆