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

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s