Seriously, what is the deal with the Subversion book? Why can they not make anything clear. Every time I want to ignore stuff it takes me like half an hour to figure out how to do it again — so this time I’m writing it down.
The basic command looks like this:
svn propset svn:ignore [PATTERN] [DIRECTORY]
So in a Rails app, if I want to ignore everything in the log/ and tmp/ directories I would do the following:
$ svn propset svn:ignore "*" log $ svn propset svn:ignore "*" tmp
If that doesn’t work try this:
$ cd log/ $ svn propset svn:ignore "*" . $ cd ../tmp $ svn propset svn:ignore "*" .
0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.