如何让 TortoiseSVN (v1.6.13) 中的忽略模式与 Visual Studio (C#) 文件正常工作?

发布于 2024-10-24 05:49:12 字数 594 浏览 6 评论 0原文

使用用户界面,我已将全局忽略模式设置为,

*.suo *.user *.ReSharper.* *ReSharper* *.5.1.ReSharper.user bin Bin obj 
Obj Debug Release

但它似乎没有执行任何操作。

所有 *.user 和 *.suo 文件都显示有蓝色问号覆盖层。如果我右键单击该文件并单击 TortoiseSVN |添加到忽略列表 | *.user,那么是的,这些文件将被忽略,但仅限于我进行更改的文件夹。

我什至尝试使用以下行编辑 AppData\Roaming\Subversion\config 文件(您可以通过单击“设置”窗口中的“编辑”按钮将其拉出)(为了清楚起见,包括换行):

global-ignores = *.suo *.user *.ReSharper.* *ReSharper* *.5.1.ReSharper.user 
bin Bin obj Obj Debug Release

但我还没有运气。

是的,我已经重启了好几次了。

有没有人遇到过同样的问题并找到解决方案?我是否缺少一些明显的东西?

Using the UI I have set my Global Ignore Pattern to

*.suo *.user *.ReSharper.* *ReSharper* *.5.1.ReSharper.user bin Bin obj 
Obj Debug Release

but it doesn't appear to do anything.

All *.user and *.suo files show up with the blue question mark overlay. If I right-click the file and click TortoiseSVN | Add to ignore list | *.user, then yes, the files are ignored, but only for the folder where I make the change.

I even tried editing the AppData\Roaming\Subversion\config file (you can pull it up by clicking the "Edit" button in the Settings window) with the following line (line wrap included for clarity):

global-ignores = *.suo *.user *.ReSharper.* *ReSharper* *.5.1.ReSharper.user 
bin Bin obj Obj Debug Release

but I haven't had any luck.

And yes, I have rebooted several times.

Has anyone out there experienced this same problem and found a solution to the issue? Is there something glaring that I am missing?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

心安伴我暖 2024-10-31 05:49:12

svn:Ignore 属性仅适用于未版本化的文件。

如果您想要忽略的文件在存储库中,则必须将它们删除,然后它们才会被忽略。

svn:ignore

svn:Ignore property only works on files that are not versioned.

If the files you want to ignore are in the repository, you will have to delete them, and only then, will they be ignored.

svn:ignore

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文