svn:global-ignores 不起作用? [英] svn:global-ignores not working?

查看:34
本文介绍了svn:global-ignores 不起作用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将 bin obj 添加到我的根文件夹中
但是当我检查修改时,仍然显示 obj 文件夹.发生了什么以及我可以做些什么使它忽略 bin &obj 文件夹递归地用于我的所有工作副本?
我在 Windows 10 64 位上使用 svn 版本 1.10.0-devTortoiseSVN 1.10.0, Build 28176 - 64Bit, 2018/04/14 08:00:32.

I've added bin obj to my root folders
But when I Check for modifications, the obj folder still show up. What happen and what I can do for make it ignore bin & obj folder recursively for all my workingcopy?
I'm using svn version 1.10.0-dev with TortoiseSVN 1.10.0, Build 28176 - 64Bit, 2018/04/14 08:00:32 on Windows 10 64bit.

推荐答案

subversion global-ignores 包含文件模式的集合.

The subversion global-ignores contains collection of file patterns.

Subversion 客户端会再次检查这些模式,以查看作为添加到版本控制和未版本控制文件的候选文件的名称.

在您的情况下,如果您仍然在存储库的根文件夹中看到文件 bin 和目标文件(而不是工作副本).这意味着您已将它们添加到版本控制中,并且在成功添加到版本控制后,您已将这些 bin 和 obj 模式添加到 global-ignores 列表中.

In your case if you are still seeing the files bin and object files in your root folder at the repository(not the working copy). This means you have added them to version control and after successful addition to version control you have added these patterns of bin and obj to the global-ignores list.

现在您需要先手动取消版本化,然后进行正常提交,并且不会添加带有模式 bin 和 obj 的文件.

Now you would need to manually un-versioned them first and then do your normal commits and the files with the pattern bin and obj will not be added.

这篇关于svn:global-ignores 不起作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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