Cookie Consent by Free Privacy Policy Generator Subversion commands | Igor Moiseev
Software

Subversion commands

By Igor Moiseev · · 1 min read ·

Delete recursively the .svn directories

$ rm -rf `find . -type d -name .svn`

Find files not under the version control

$ svn status | grep -e ^?

How to remove all deleted files from repository

$ svn st | grep '^!' | awk '{print $2}' | xargs svn delete --force

grep on folder with excluding of .svn dirs

$ grep -r 'content_graphic' assets/js --exclude=*\.svn*