Often you have files in your subversion directiory which you do not want to commit / check-in.往往是你的档案在你的Subversion directiory您不想犯下/退房在。 Such files could be compiled files, intermediate files used for data processing etc. Subversion provides a simple way to exclude such files.这样的文件可以汇编文件,中间文件用于数据处理等颠覆提供了一个简单的方法来排除这样的文件。 The good news is that it allows you to specify them using patterns, so you don’t have to individually specify them.好消息是,它允许你指定使用的模式,让您不须单独指定他们。

You can use the following command:您可以使用以下命令:
svn propset svn:ignore “ translator_*.phptranslator svn propset svn :忽略“ translator_ *. php ”的翻译

Notes:注释:
1. 1 。 Replace translator_*.php with your own pattern of files to exclude / ignore.取代translator_ *.的PHP与自己的模式,档案排除/忽视的问题。
2. 2 。 Replace translator with the directory you want to exclude from.取代翻译与您想要的目录中排除。 You can also use . to indicate current directory.您也可以使用表示当前目录。

svn:ignore property contains list of file patterns which certain Subversion operations will ignore. svn:ignore works in conjunction with the global-ignores run-time configuration option to filter unversioned files and directories out of commands like svn status, svn add, and svn import. svn :忽视财产清单中包含的文件模式,其中某些颠覆行动将忽视的问题。 svn :忽视工程,联同全球忽略的运行时配置选项,以过滤器版本的文件和目录列的命令一样, svn地位, svn添加, svn进口。

The full syntax is:充分语法是:
svn propset svn:ignore [FILE_PATTERN_TO_IGNORE | -F FILE_CONTAINING_FILE_PATTERNS_TO_IGNORE] PATH_TO_IGNORE_FROM… svn propset svn :忽略[ file_pattern_to_ignore | - F的file_containing_file_patterns_to_ignore ] path_to_ignore_from …

The ignored files are still in your working copy.忽视档案仍然在您的工作副本。 Subversion is simply not reminding you that they are present and unversioned.颠覆根本没有提醒你,他们是当前和版本。 If you want to see the ignored files, you can pass the –no-ignore option to Subversion:如果您想看到忽视的档案,您可以通过不-忽视的选项颠覆:
$ svn status –no-ignore $ svn地位不忽视