SVN is also a directory synchronization we can use it to do version control, below to see about the Linux SVN submission ignores some files, directories (ignore attributes), I hope the example will help you.
In the project, some files are not required to submit local to the SVN warehouse, such as the config.php file, especially the definition of absolute path, or cache directory, image directory, etc., so for convenience, every time you submit SVN, you need to ignore these files, directories, Avoiding inadvertent submission causes other members of the team to modify their local version.
Linux under the SVN propedit svn:ignore command can be edited to ignore files, directory listings, in the warehouse execution, if my warehouse is wudiweb.com:
Cd/data/www/www.111cn.net # SVN copy
Export Svn_editor=vim # definition SVN EDITOR for vim edit
SVN propedit Svn:ignore. # this last. #, represents the current directory
Vim editor will be opened, you need to fill in the need to ignore the submission of files, directories, such as here to fill in:
includes/config.php # includes/config.php file for the current directory relative path
Images # Picture Catalogue
Cache # Cached Directory
After adding, save the file and quit Vim.
The files and directories mentioned above will be automatically ignored at the time of submission:
SVN commit. -M "Test ignores files, directories"
SVN status
The next time you want to add an ignored file, after executing the above command, will automatically open vim, continue to add the list to the last side