Subversion (SVN) is a popular version control system used by developers. Often a developer will find that they have folders or files within their project that they do not want to have saved and versioned. To accomplish this svn provides the ignore property which can be set to tell what not to include.
How to ignore or exclue files of a particular type
Ignoring files of a particular type is accomplished by setting the ignore property to a pattern for a particular url path. Lets assume in our projects we have a log directory and we want to ignore all files of type .log. This would be accomplished by the following command.
svn propset svn:ignore "*.log" log
How to ignore a directory
To exclude a whole directory we would utilize the same format but instead we would use the * pattern as it matches every file. So lets say we have a build folder in our path lets exclude it by the following command.
svn propset svn:ignore "*" build/