svn:global-ignores not working?

2019-08-23 07:44发布

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.

I've added bin obj to my root folders obj folder show up version

1条回答
做自己的国王
2楼-- · 2019-08-23 07:48

The subversion global-ignores contains collection of file patterns.

The subversion client checks these patterns agains the names of the files that are candidates for addition to the version control and unversioned files.

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.

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.

查看更多
登录 后发表回答