Sunday, September 13, 2009

SVN ignore recursive

To ignore specific patterns of files or dir, the svn command is like
svn propset svn:ignore 'target' . –R

For multiple ignore patterns, put them in a txt file with new line delimiter. Let's say the file name is svn.ignore.

svn propset -R svn:ignore . -F svn.ignore

Another way is to add the file name patterns you always want to ignore to your ~/.subversion/config file before running "svn add"

No comments:

Post a Comment