SVN (Subversion) - SVN Ignore directories recursively
Search
Tag Search
plugin
AJAX
jquery
thickbox
regex
php
bugs
action script
art
client-side
seo
apache
car
svn
htaccess
flash
cache
disable cache
regular expressions
html
subdomain
301 redirect
hand drawing
javascript
print design
Recently Added
- HTML [3 items]
- SVN (Subversion) [3 items]
- jQuery [10 items]
- PHP [4 items]
Most Popular
- jQuery [10 items]
- PHP [4 items]
- SVN (Subversion) [3 items]
- HTML [3 items]
Member Options
18
Mar
Created by: robilim - Date Added: 18th March 2011 - 0 Responses
Recently needed to ignore a set of directories in SVN so that all the uploads weren't being saved into the repository.
svn -R propset svn:ignore '*' path/to/folder
So running through the code "-R" is the recursive flag and is case sensitive! "propset" is setting a property, "svn:ignore" is the property, "*" is everything in the directory while the "path/to/folder" is obviously the path to the folder you would like to ignore.
In this example:
- path/to/folder - this would be ignored
- path/to/folder/another_folder/ - this would be ignored
- path/to/directory - would not be ignored because it is not in the path/to/folder

