如何让 TortoiseSVN (v1.6.13) 中的忽略模式与 Visual Studio (C#) 文件正常工作?
使用用户界面,我已将全局忽略模式设置为,
*.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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
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