Hard to find svn commands

Some tips for SVN that I’d like to note here rather than google for every single time. Will keep adding them as I get more of them.

Revert all recursively:

svn revert -R <targetdir>

Source

Remove .svn directories in all folder / Clean up entire project from svn

svn export /path/to/old/working/copy /path/to/plain/code

Source

How to set properties for files and directories

svn ps svn:ignore <file pattern> <target directory>

Ex: svn ps svn:ignore ‘database.php’ ‘./config’

Source