Archive for category svn
svn – Ignore/exclude files from version control
Posted by vinoaj in development, howto, svn on July 5, 2007
In most projects there are going to be files that you wish to ignore in version control. These could be temporary files, log or debug files, and so forth. These are files that you can safely ignore when executing commands such as svn commit and svn st. The following shows how to configure your svn client to ignore particular files in your working copy.
svn propedit svn:ignore /path/with/files/to/ignore/
svn opens up your text editor of choice
Use file patterns to indicate which files to ignore from version control. Each pattern goes on a new line. e.g.
log_12*.log *.tmp
Save your file and exit
Now whenever you perform commands like svn st or svn commit, svn will ignore files with the patterns you specified in the directories that you specified.