Alex Rivera | Logout

How do I ignore a directory with SVN?

Asked 2008-09-22T16:55:59.443
796

I just started using SVN, and I have a cache directory that I don't need under source control. How can I ignore the whole directory/folder with SVN?

I am using Versions and TextMate on OS X and commandline.

Edit
Report

1 Answer

12

...and if you want to ignore more than one directory (say build/ temp/ and *.tmp files), you could either do it in two steps (ignoring the first and edit ignore properties (see other answers here) or one could write something like

svn propset svn:ignore "build
temp
*.tmp" .

on the command line.

answered 2010-11-17T10:25:03.193

Your Answer